pub enum Why {
Incumbent(InstanceId),
Incomplete,
OwnClaimMissing,
DescriptorUnread(InstanceId),
LowerCandidate(InstanceId),
NoLock,
}Expand description
Why an instance stands by (§2.5, §2.11).
Variants§
Incumbent(InstanceId)
Another instance holds the interface’s token: a live incumbent wins.
Incomplete
The read was not complete.
OwnClaimMissing
The read did not show the instance’s own claim.
DescriptorUnread(InstanceId)
A lower instance’s descriptor was not read.
LowerCandidate(InstanceId)
A lower candidate is in the claim set.
NoLock
external: the instance does not hold the lock.
Implementations§
Trait Implementations§
impl Eq for Why
impl StructuralPartialEq for Why
Auto Trait Implementations§
impl Forget for Why
impl Freeze for Why
impl Move for Why
impl RefUnwindSafe for Why
impl Send for Whywhere
RawVecInner: Send,
impl Sync for Whywhere
RawVecInner: Sync,
impl Unpin for Why
impl UnsafeUnpin for Why
impl UnwindSafe for Whywhere
RawVecInner: UnwindSafe,
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