pub struct EnsureLeadership<N, C>where
    N: Node,
    C: Config,
{ /* private fields */ }

Trait Implementations

Formats the value using the given formatter. Read more
Arguments this decoration requires. Read more
Type of the decorated node.
Wraps this decoration around the given node, using the given arguments.
Returns a reference to the decorated node.
Unwraps this decoration.
Type of node that’s delegated to.
Returns a reference to the node that’s delegated to.
Parametrization of the paxakos algorithm.
Type that will perform graceful shutdown if requsted.
This node’s identifier.
Node’s current status.
Node’s current mode of participation.
Polls the node’s event stream. Read more
Returns a handle for this node. Read more
Requests that snapshot of the node’s current state be taken.
Affirms that the given snapshot was written to persistent storage. Read more
Requests that the given snapshot be installed. Read more
Reads the node’s current state. Read more
Reads the node’s current state. Read more
Reads the node’s current state. Read more
Reads the node’s current state. Read more
Appends applicable to the shared log.
Begins a graceful shutdown of this node.
Returns a future that polls this node for events until the next one is returned. Read more
Returns a stream that polls this node for events.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Leadership as assumed by this node. Read more
Leadership as assumed by this node. Read more
Appends applicable to the shared log.
Wait for the log entry with the given ID to be committed.
Eject the node’s state. Read more
Polls the given nodes for the log entry to apply to the given round. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
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