Struct paxakos::node_builder::NodeBuilder[][src]

pub struct NodeBuilder<N: Node, V = IndiscriminateVoterFor<N>, B = InMemoryBuffer<RoundNumOf<N>, CoordNumOf<N>, LogEntryOf<N>>> { /* fields omitted */ }
Expand description

Node builder with all essential information set.

Implementations

Sets the applied entry buffer.

Tracer to record events with.

Sets the voting strategy to use.

Sets the node kit to use.

Adds a decoration to wrap around the resulting node.

Spawns the node into context ().

Spawns the node in the given context.

Trait Implementations

Node type to be decorated.

Voter type.

Buffer type.

Decorates the node with Autofill using the given configuration.

Node type to be decorated.

Voter type.

Buffer type.

Decorates the node with Heartbeats using the given configuration.

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