pub trait BufferRef {
// Required methods
fn len(&self) -> usize;
fn read<const N: usize>(&self, offset: usize) -> &[u8; N];
}
Required Methods§
Object Safety§
This trait is not object safe.
pub trait BufferRef {
// Required methods
fn len(&self) -> usize;
fn read<const N: usize>(&self, offset: usize) -> &[u8; N];
}