pub trait AsyncReadAncillaryMulti {
type Return;
// Required method
fn read_multi_with_ancillary(
&mut self,
control_len: usize,
) -> impl Stream<Item = Result<Self::Return, Error>>;
}Available on crate features
io and ancillary only.Expand description
Trait for asynchronous read with ancillary (control) data that returns multiple managed buffers. Intended for connected stream sockets (TCP, Unix streams) where no source address is needed.
Required Associated Types§
Required Methods§
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.