Struct paxakos::leases::master::communicator::LeaseRecordingCommunicator [−][src]
pub struct LeaseRecordingCommunicator<C: Communicator> { /* fields omitted */ }
Implementations
Trait Implementations
impl<C, Y> Communicator for LeaseRecordingCommunicator<C> where
C: Communicator<Yea = Y>,
Y: ToLeaseDuration + Debug + Send + Sync + 'static,
impl<C, Y> Communicator for LeaseRecordingCommunicator<C> where
C: Communicator<Yea = Y>,
Y: ToLeaseDuration + Debug + Send + Sync + 'static,
type RoundNum = RoundNumOf<C>
type RoundNum = RoundNumOf<C>
The round number type.
type CoordNum = CoordNumOf<C>
type CoordNum = CoordNumOf<C>
The coordination number type.
type LogEntry = LogEntryOf<C>
type LogEntry = LogEntryOf<C>
The log entry type.
type SendPrepare = <C as Communicator>::SendPrepare
type SendPrepare = <C as Communicator>::SendPrepare
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 = <C as Communicator>::SendCommit
type SendCommit = <C as Communicator>::SendCommit
Type of future returned from send_commit
.
type SendCommitById = <C as Communicator>::SendCommitById
type SendCommitById = <C as Communicator>::SendCommitById
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<C> !RefUnwindSafe for LeaseRecordingCommunicator<C>
impl<C> Send for LeaseRecordingCommunicator<C> where
C: Send,
impl<C> Sync for LeaseRecordingCommunicator<C> where
C: Sync,
impl<C> Unpin for LeaseRecordingCommunicator<C> where
C: Unpin,
impl<C> !UnwindSafe for LeaseRecordingCommunicator<C>
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