pub enum CommitTimeoutStatus {
NotWaiting,
StillWaiting,
TimedOut {
has_proposals: bool,
},
}Expand description
Result of checking commit timeout status.
Variants§
NotWaiting
Not in Waiting state — nothing to check.
StillWaiting
In Waiting state but timeout hasn’t been reached yet.
TimedOut
Timeout reached and state reverted to Working.
has_proposals indicates if approved proposals still existed (steward fault).
Trait Implementations§
Source§impl Debug for CommitTimeoutStatus
impl Debug for CommitTimeoutStatus
Source§impl PartialEq for CommitTimeoutStatus
impl PartialEq for CommitTimeoutStatus
impl StructuralPartialEq for CommitTimeoutStatus
Auto Trait Implementations§
impl Freeze for CommitTimeoutStatus
impl RefUnwindSafe for CommitTimeoutStatus
impl Send for CommitTimeoutStatus
impl Sync for CommitTimeoutStatus
impl Unpin for CommitTimeoutStatus
impl UnwindSafe for CommitTimeoutStatus
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