Struct bee_network::ServiceHost[][src]

pub struct ServiceHost {}
Expand description

A node worker, that deals with processing user commands, and publishing events.

NOTE: This type is only exported to be used as a worker dependency.

Trait Implementations

Returns the “default value” for a type. Read more

The configuration state required to start this worker.

An error that may be emitted during node startup and shutdown.

Generate a list of TypeIds representing the topological worker dependencies of this worker. Read more

Attempt to instantiate this worker with the given node and worker configuration.

Attempt to stop an instance of this worker.

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.

Performs the conversion.

Should always be Self

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.