Re-exports§
pub use router::ConnectionAck;
pub use router::Data;
pub use router::DataRequest;
pub use router::Disconnection;
pub use router::Event;
pub use router::Message;
pub use router::MetricsReply;
pub use router::MetricsRequest;
pub use router::Notification;
pub use router::Router;
Modules§
Structs§
- Config
- Connection
- Used to register a new connection with the router Connection messages encompasses a handle for router to communicate with this connection
- Receiver
- The receiving side of a channel.
- Recv
Error - An error returned from
Receiver::recv()
. - Send
Error - An error returned from
Sender::send()
. - Sender
- The sending side of a channel.
Enums§
- Recv
Timeout Error - An error returned from the
recv_timeout
method.
Functions§
- bounded
- Creates a bounded channel.