Enum paxakos::prototyping::DirectCommunicatorPayload [−][src]
pub enum DirectCommunicatorPayload<I: Invocation> {
Prepare {
round_num: RoundNumOf<I>,
coord_num: CoordNumOf<I>,
},
Promise(bool),
Propose {
round_num: RoundNumOf<I>,
coord_num: CoordNumOf<I>,
log_entry: Arc<LogEntryOf<I>>,
},
Accept(bool),
Commit {
round_num: RoundNumOf<I>,
coord_num: CoordNumOf<I>,
log_entry: Arc<LogEntryOf<I>>,
},
CommitById {
round_num: RoundNumOf<I>,
coord_num: CoordNumOf<I>,
},
Committed(bool),
}
Variants
Fields of Prepare
round_num: RoundNumOf<I>
coord_num: CoordNumOf<I>
Promise(bool)
Tuple Fields of Promise
0: bool
Fields of Propose
Accept(bool)
Tuple Fields of Accept
0: bool
Fields of Commit
Fields of CommitById
round_num: RoundNumOf<I>
coord_num: CoordNumOf<I>
Committed(bool)
Tuple Fields of Committed
0: bool
Trait Implementations
Auto Trait Implementations
impl<I> RefUnwindSafe for DirectCommunicatorPayload<I> where
<I as Invocation>::CoordNum: RefUnwindSafe,
<<I as Invocation>::State as State>::LogEntry: RefUnwindSafe,
<I as Invocation>::RoundNum: RefUnwindSafe,
impl<I> Send for DirectCommunicatorPayload<I>
impl<I> Sync for DirectCommunicatorPayload<I>
impl<I> Unpin for DirectCommunicatorPayload<I>
impl<I> UnwindSafe for DirectCommunicatorPayload<I> where
<I as Invocation>::CoordNum: UnwindSafe,
<<I as Invocation>::State as State>::LogEntry: RefUnwindSafe,
<I as Invocation>::RoundNum: 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