pub enum DeferralReason {
FutureEpoch {
epoch: u64,
},
MissingProposal,
}Expand description
A reason why processing this message had to be deferred.
Variants§
FutureEpoch
Message comes from a future epoch and can be processed once we arrive in that epoch
MissingProposal
Message attempts to commit a proposal by reference, but we have not yet received the referenced proposal
Trait Implementations§
Source§impl Debug for DeferralReason
impl Debug for DeferralReason
Source§impl From<DeferralReason> for DecryptionOutcome
impl From<DeferralReason> for DecryptionOutcome
Source§fn from(value: DeferralReason) -> Self
fn from(value: DeferralReason) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DeferralReason
impl RefUnwindSafe for DeferralReason
impl Send for DeferralReason
impl Sync for DeferralReason
impl Unpin for DeferralReason
impl UnsafeUnpin for DeferralReason
impl UnwindSafe for DeferralReason
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<T> ErasedDestructor for Twhere
T: 'static,
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