pub trait ReadWriteEx:
AsyncRead
+ AsyncWrite
+ StreamInfo
+ Unpin
+ Debug {
// Required method
fn box_clone(&self) -> IReadWrite;
}Expand description
The trait for IReadWrite. It can be made into a trait object IReadWrite used
by Swarm Substream.
StreamInfo must be supported.
Required Methods§
fn box_clone(&self) -> IReadWrite
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".