Struct paxakos::prototyping::DirectCommunicator [−][src]
pub struct DirectCommunicator<I: Invocation> { /* fields omitted */ }
Trait Implementations
type RoundNum = RoundNumOf<I>
type RoundNum = RoundNumOf<I>
The round number type.
type CoordNum = CoordNumOf<I>
type CoordNum = CoordNumOf<I>
The coordination number type.
type LogEntry = LogEntryOf<I>
type LogEntry = LogEntryOf<I>
The log entry type.
type Error = DirectCommunicatorError
type Error = DirectCommunicatorError
The communication error type.
type SendPrepare = LocalBoxFuture<'static, Result<VoteFor<Self>, Self::Error>>
type SendPrepare = LocalBoxFuture<'static, Result<VoteFor<Self>, Self::Error>>
Type of future returned from send_prepare
.
type SendProposal = LocalBoxFuture<'static, Result<AcceptanceFor<Self>, Self::Error>>
type SendProposal = LocalBoxFuture<'static, Result<AcceptanceFor<Self>, Self::Error>>
Type of future returned from send_proposal
.
type SendCommit = LocalBoxFuture<'static, Result<Committed, Self::Error>>
type SendCommit = LocalBoxFuture<'static, Result<Committed, Self::Error>>
Type of future returned from send_commit
.
type SendCommitById = LocalBoxFuture<'static, Result<Committed, Self::Error>>
type SendCommitById = LocalBoxFuture<'static, Result<Committed, Self::Error>>
Type of future returned from send_commit_by_id
.
Send a prepare message to all receivers
. Read more
Send a proposal message to all receivers
. Read more
Send a commit message to all receivers
. Read more
Auto Trait Implementations
impl<I> !RefUnwindSafe for DirectCommunicator<I>
impl<I> Send for DirectCommunicator<I>
impl<I> Sync for DirectCommunicator<I>
impl<I> Unpin for DirectCommunicator<I>
impl<I> !UnwindSafe for DirectCommunicator<I>
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