Expand description
Modules
- Module for Client functionality. Enable the client feature to use it.
- Definitions for Connection Events
- Module for Server functionality. Enable the server feature to use it.
Traits
- Trait that makes a type able to be decoded, akin to serde’s
DeserializeOwned
trait. - Any source that can be encoded. This trait should be implemented for all types that you want to be able to use with any of the
encode_with
methods. - Any data structure implementing this can be transmitted. Usually,
#[derive(Decode, Encode)]
will be enough to implement it. If the broadcast feature is enabled, Clone is also required.