pub enum StepDownWhy {
LowerHolder(InstanceId),
LockLost,
}Expand description
Why an incumbent steps down (§2.9, §2.11).
Variants§
LowerHolder(InstanceId)
Under claim, a split whose second read shows this lower holder.
LockLost
Under external, the lock lost.
Implementations§
Trait Implementations§
Source§impl Clone for StepDownWhy
impl Clone for StepDownWhy
Source§impl Debug for StepDownWhy
impl Debug for StepDownWhy
impl Eq for StepDownWhy
Source§impl Hash for StepDownWhy
impl Hash for StepDownWhy
Source§impl PartialEq for StepDownWhy
impl PartialEq for StepDownWhy
impl StructuralPartialEq for StepDownWhy
Auto Trait Implementations§
impl Forget for StepDownWhy
impl Freeze for StepDownWhy
impl Move for StepDownWhy
impl RefUnwindSafe for StepDownWhy
impl Send for StepDownWhywhere
RawVecInner: Send,
impl Sync for StepDownWhywhere
RawVecInner: Sync,
impl Unpin for StepDownWhy
impl UnsafeUnpin for StepDownWhy
impl UnwindSafe for StepDownWhywhere
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