pub struct NodeBuilder<N: Node, F: Finisher<Node = N>, V = IndiscriminateVoterFor<N>, B = InMemoryBuffer<RoundNumOf<N>, CoordNumOf<N>, LogEntryOf<N>>, E: Executor = StdThread> { /* private fields */ }
Expand description

Node builder with all essential information set.

Implementations

Sets the applied entry buffer.

Sets the executor to be used.

Tracer to record events with.

Sets the voting strategy to use.

Sets the node kit to use.

Spawns the node into context ().

Spawns the node in the given context.

Trait Implementations

Node type without decoration applied.

Type of this builder after decoration D is applied.

Adds a decoration to wrap around the resulting node.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Type of node to be decorated.

Type of builder after Autofill decoration is applied with config C.

Decorates the node with Autofill using the given configuration.

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Node type to be decorated.

Decorates the node with Delegate using the given configuration.

Returns the argument unchanged.

Type of node to be decorated.

Type of builder after Heartbeats decoration is applied with config C. Read more

Decorates the node with Heartbeats using the given configuration.

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.

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