pub trait IterReadItem {
type Buffer: Default;
// Required method
fn read<I: Iterator<Item = Self>>(
target: &mut [u8],
it: &mut I,
buf: &mut Self::Buffer,
) -> Result<usize>
where Self: Sized;
}Expand description
Trait that should be implemented for any type which can be used in an
iterator given to IterRead.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".