pub enum AnnounceState {
Idle,
Pending,
Active,
Done,
}Expand description
ANNOUNCE lifecycle states (draft-08).
Variants§
Idle
Initial state before any message is sent.
Pending
ANNOUNCE has been sent; awaiting ANNOUNCE_OK or ANNOUNCE_ERROR.
Active
Namespace publication is accepted and active.
Done
Namespace publication has ended (UNANNOUNCE or cancel).
Trait Implementations§
Source§impl Clone for AnnounceState
impl Clone for AnnounceState
Source§fn clone(&self) -> AnnounceState
fn clone(&self) -> AnnounceState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AnnounceState
impl Debug for AnnounceState
Source§impl PartialEq for AnnounceState
impl PartialEq for AnnounceState
impl Copy for AnnounceState
impl Eq for AnnounceState
impl StructuralPartialEq for AnnounceState
Auto Trait Implementations§
impl Freeze for AnnounceState
impl RefUnwindSafe for AnnounceState
impl Send for AnnounceState
impl Sync for AnnounceState
impl Unpin for AnnounceState
impl UnsafeUnpin for AnnounceState
impl UnwindSafe for AnnounceState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more