pub trait IO:
AsyncRead
+ AsyncWrite
+ Shutdown
+ UniqueID
+ Ssl
+ GetTimingDigest
+ GetProxyDigest
+ GetSocketDigest
+ Peek
+ Unpin
+ Debug
+ Send
+ Sync {
// Required methods
fn as_any(&self) -> &dyn Any;
fn into_any(self: Box<Self>) -> Box<dyn Any>;
}
Expand description
The abstraction of transport layer IO