Enum paxakos::error::AcceptError [−][src]
pub enum AcceptError<I: Invocation> {
Supplanted(CoordNumOf<I>),
Converged(CoordNumOf<I>, Option<(CoordNumOf<I>, Arc<LogEntryOf<I>>)>),
Passive,
Rejected(NayOf<I>),
ShutDown,
}
Expand description
A proposal could not be accepted.
Variants
Supplanted(CoordNumOf<I>)
Tuple Fields of Supplanted
0: CoordNumOf<I>
Converged(CoordNumOf<I>, Option<(CoordNumOf<I>, Arc<LogEntryOf<I>>)>)
Tuple Fields of Converged
0: CoordNumOf<I>
1: Option<(CoordNumOf<I>, Arc<LogEntryOf<I>>)>
Rejected(NayOf<I>)
Tuple Fields of Rejected
0: NayOf<I>
Trait Implementations
Performs the conversion.
type Error = AcceptError<I>
type Error = AcceptError<I>
The type returned in the event of a conversion error.
Performs the conversion.
Auto Trait Implementations
impl<I> RefUnwindSafe for AcceptError<I> where
<I as Invocation>::CoordNum: RefUnwindSafe,
<<I as Invocation>::State as State>::LogEntry: RefUnwindSafe,
<I as Invocation>::Nay: RefUnwindSafe,
impl<I> Send for AcceptError<I>
impl<I> Sync for AcceptError<I>
impl<I> Unpin for AcceptError<I> where
<I as Invocation>::Nay: Unpin,
impl<I> UnwindSafe for AcceptError<I> where
<I as Invocation>::CoordNum: UnwindSafe,
<<I as Invocation>::State as State>::LogEntry: RefUnwindSafe,
<I as Invocation>::Nay: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more