pub trait ReadExtZeroCopy<'zc> {
// Required method
fn borrow_exact(&mut self, len: usize) -> Result<&'zc [u8]>;
}Expand description
An external realization of borrowing using Cursor.
Required Methods§
fn borrow_exact(&mut self, len: usize) -> Result<&'zc [u8]>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".