#[non_exhaustive]pub enum Phase {
Idle,
Probing,
Announcing,
Established,
Renaming,
Leaving,
}Expand description
The phase a schedule is in.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Idle
Not advertising, nothing due.
Probing
§8.1’s probes are in progress. The name is not yet ours and queries go unanswered.
Announcing
§8.3’s announcements are in progress. The name is ours.
Established
Probed and announced; answering queries.
Renaming
A conflict was lost. The caller owes a new name before anything else can happen.
Leaving
A goodbye is due, after which the schedule returns to Phase::Idle.
Trait Implementations§
impl Copy for Phase
impl Eq for Phase
impl StructuralPartialEq for Phase
Auto Trait Implementations§
impl Forget for Phase
impl Freeze for Phase
impl Move for Phase
impl RefUnwindSafe for Phase
impl Send for Phase
impl Sync for Phase
impl Unpin for Phase
impl UnsafeUnpin for Phase
impl UnwindSafe for Phase
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