pub struct ServerBuilder<P, R> { /* private fields */ }
Expand description

This type implements builder-pattern to configure ServerSystem. Allows adding new descriptors and setting remote player type.

Implementations

Returns new un-configured ServerBuilder.

Sets type of remote player.

Adds component descriptor to manage state replication.

Builds ServerSystem configured to use provided remote player and descriptors.

Takes listener for accepting connections from clients.

Adds component descriptor to manage state replication.

Builds ServerSystem configured to use provided remote player and descriptors.

Takes listener for accepting connections from clients.

Adds component descriptor to manage state replication.

Builds ServerSystem configured to use provided remote player and descriptors.

Takes listener for accepting connections from clients.

Adds component descriptor to manage state replication.

Builds ServerSystem configured to use provided remote player and descriptors.

Takes listener for accepting connections from clients.

Adds component descriptor to manage state replication.

Builds ServerSystem configured to use provided remote player and descriptors.

Takes listener for accepting connections from clients.

Adds component descriptor to manage state replication.

Builds ServerSystem configured to use provided remote player and descriptors.

Takes listener for accepting connections from clients.

Adds component descriptor to manage state replication.

Builds ServerSystem configured to use provided remote player and descriptors.

Takes listener for accepting connections from clients.

Adds component descriptor to manage state replication.

Builds ServerSystem configured to use provided remote player and descriptors.

Takes listener for accepting connections from clients.

Adds component descriptor to manage state replication.

Builds ServerSystem configured to use provided remote player and descriptors.

Takes listener for accepting connections from clients.

Adds component descriptor to manage state replication.

Builds ServerSystem configured to use provided remote player and descriptors.

Takes listener for accepting connections from clients.

Trait Implementations

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

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 ComponentInfo for this component type.

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