pub enum FreezeTimeoutStatus {
NotFreezing,
StillFreezing,
Applied,
TimedOut {
has_proposals: bool,
},
}Expand description
What a freeze-timeout poll returned.
Variants§
NotFreezing
StillFreezing
Applied
A candidate was selected and applied.
TimedOut
Timeout elapsed without a valid candidate. has_proposals = true
means approved work existed at timeout (steward fault); false is
just an empty epoch.
Trait Implementations§
Source§impl Debug for FreezeTimeoutStatus
impl Debug for FreezeTimeoutStatus
Source§impl PartialEq for FreezeTimeoutStatus
impl PartialEq for FreezeTimeoutStatus
Source§fn eq(&self, other: &FreezeTimeoutStatus) -> bool
fn eq(&self, other: &FreezeTimeoutStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FreezeTimeoutStatus
Auto Trait Implementations§
impl Freeze for FreezeTimeoutStatus
impl RefUnwindSafe for FreezeTimeoutStatus
impl Send for FreezeTimeoutStatus
impl Sync for FreezeTimeoutStatus
impl Unpin for FreezeTimeoutStatus
impl UnsafeUnpin for FreezeTimeoutStatus
impl UnwindSafe for FreezeTimeoutStatus
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
Source§impl<T> Declassify for T
impl<T> Declassify for T
type Declassified = T
fn declassify(self) -> T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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