pub trait Split {
type R;
type W;
// Required method
fn split(self) -> (Self::R, Self::W);
}Expand description
split something into two parts
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl<S: Read + Write> Split for TlsStream<S>
Available on crate feature sync_tls_rustls only.
impl<S: Read + Write> Split for TlsStream<S>
Available on crate feature
sync_tls_rustls only.