Struct paxakos::node::Shell[][src]

pub struct Shell<N: NodeImpl> { /* fields omitted */ }
Expand description

The Node implementation that’s returned from NodeBuilders.

This Node implementation processes requests from NodeHandles. It delegates to the outermost Decoration, thus giving decorations a chance to intercept.

Trait Implementations

Leadership as assumed by this node. Read more

Leadership as assumed by this node. Read more

Parametrization of the paxakos algorithm.

Type of communicator this node uses.

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 given snapshot be installed.

Reads the node’s current state. Read more

Appends applicable to the shared log.

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

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

Performs the conversion.

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

Performs the conversion.

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