pub trait ReadExt: Read {
// Provided method
fn read_exact_to_vec(&mut self, n: usize) -> Result<Vec<u8>> { ... }
}Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".