Crate kumoko

Source
Expand description

Modules§

client
Module for Client functionality. Enable the client feature to use it.
event
Definitions for Connection Events
server
Module for Server functionality. Enable the server feature to use it.

Traits§

Decode
Trait that makes a type able to be decoded, akin to serde’s DeserializeOwned trait.
Encode
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.
Message
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.

Derive Macros§

Decode
Encode