pub trait SendHalf:
Sized
+ AsyncWrite
+ RefTokioAsyncWrite
+ Sealed {
type Stream: Stream;
}Expand description
Send halves of Tokio Streams, obtained through .split().
Types on which this trait is implemented are variants of the
SendHalf enum. In addition, it is implemented on SendHalf itself,
which makes it a trait object of sorts.
Required Associated Types§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.