pub struct MessageChannelsBuilder<R, P> where
    R: Runtime,
    P: PacketPool
{ /* private fields */ }

Implementations

Register this message type on the constructed MessageChannels, using the given channel settings.

Can only be called once per message type, will error if it is called with the same message type more than once.

Build a MessageChannels instance that can send and receive all of the registered message types via channels on the given packet multiplexer.

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.