pub trait ReaderExt {
// Required methods
fn read_n(&self, n: usize) -> &[u8] ⓘ;
fn read_const<const N: usize>(&self) -> [u8; N];
fn skip(self, bytes: usize) -> Self;
}Required Methods§
fn read_n(&self, n: usize) -> &[u8] ⓘ
fn read_const<const N: usize>(&self) -> [u8; N]
fn skip(self, bytes: usize) -> Self
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.