pub enum SrpState {
ToAdd,
Adding,
ToRefresh,
Refreshing,
ToRemove,
Removing,
Removed,
Registered,
Other(otSrpClientItemState),
}Expand description
An enum describing the status of either a concrete SRP service, or the SRP host.
Variants§
ToAdd
The service/host is to be added/registered.
Adding
The service/host is being added/registered.
ToRefresh
The service/host is to be refreshed (re-register to renew lease).
Refreshing
The service/host is being refreshed.
ToRemove
The service/host is to be removed/unregistered.
Removing
The service/host is being removed/unregistered.
Removed
The service/host has been removed/unregistered.
Registered
The service/host is registered.
Other(otSrpClientItemState)
Any other state.
Trait Implementations§
impl Copy for SrpState
impl Eq for SrpState
Source§impl From<u32> for SrpState
impl From<u32> for SrpState
Source§fn from(value: otSrpClientItemState) -> Self
fn from(value: otSrpClientItemState) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for SrpState
Auto Trait Implementations§
impl Freeze for SrpState
impl RefUnwindSafe for SrpState
impl Send for SrpState
impl Sync for SrpState
impl Unpin for SrpState
impl UnsafeUnpin for SrpState
impl UnwindSafe for SrpState
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)