pub struct Manifest<P: ProtocolType> { /* private fields */ }
Expand description

Contains the shared protocol between Client & Server, with a data that is able to map Message/Component TypeIds to their representation within specified enums. Also is able to create new Messages/Components using registered Builders, given a specific TypeId.

Implementations

Create a new Manifest

Register a ReplicaBuilder to handle the creation of Message/Component instances

Creates a Message/Component instance, given a NaiaId and a payload, typically from an incoming packet

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.

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.