Expand description
§Easy Sockets Rust
Quick and easy way of building up complex socket protocols.
Re-exports§
pub use tokio;
Modules§
- error
- Defines a trait that represents an error code and its message.
- logger
- Module with helpful logging functions
- prelude
- Contains all commonly used types
- sendable
- Defines messages able to be sent between devices
- sockets
- Module which defines means of send and receiving messages through sockets.
Structs§
- Duration
- A
Duration
type to represent a span of time, typically used for system timeouts.
Traits§
- Deserialize
- A data structure that can be deserialized from any data format supported by Serde.
- Serialize
- A data structure that can be serialized into any data format supported by Serde.
- Server
Conn - Trait that simplifies the creation of the server side of a socket protocol.
Functions§
- sleep
- Puts the current thread to sleep for at least the specified amount of time.
- start_
server