qws/
util.rs

1//! The util module rexports some tools from mio in order to facilitate handling timeouts.
2
3/// Used to identify some timed-out event.
4pub use mio::Token;
5/// A handle to a specific timeout.
6pub use mio_extras::timer::Timeout;
7#[cfg(any(feature = "ssl", feature = "nativetls"))]
8/// TcpStream underlying the WebSocket
9pub use mio::tcp::TcpStream;