pub struct Overlord<T: Codec, F: Consensus<T>, C: Crypto, W: Wal> { /* private fields */ }
Expand description

An overlord consensus instance.

Implementations

Create a new overlord and return an overlord instance with an unbounded receiver.

Get the overlord handler from the overlord instance.

Run overlord consensus process. The interval is the height interval as millisecond.

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.

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.