pub enum MemberState {
Idle {
after_end: bool,
},
Waiting {
since: Mono,
},
Heard {
last: Mono,
},
Missed {
last: Option<Mono>,
},
}Expand description
Where a held member stands (§2.5).
Variants§
Idle
A known member neither heard nor waited for: before the start, its
owner not present, or after it ended (after_end), until its next
arrival.
Waiting
A known member never heard, its owner present: missed once more than
the deadline has passed since since.
Heard
In time: its last arrival.
Missed
Missed: its last arrival, None for a known member never heard.
Trait Implementations§
Source§impl Clone for MemberState
impl Clone for MemberState
impl Copy for MemberState
Source§impl Debug for MemberState
impl Debug for MemberState
impl Eq for MemberState
Source§impl PartialEq for MemberState
impl PartialEq for MemberState
impl StructuralPartialEq for MemberState
Auto Trait Implementations§
impl Forget for MemberState
impl Freeze for MemberState
impl Move for MemberState
impl RefUnwindSafe for MemberState
impl Send for MemberState
impl Sync for MemberState
impl Unpin for MemberState
impl UnsafeUnpin for MemberState
impl UnwindSafe for MemberState
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more