pub trait ReportBuffer: Default {
const CAPACITY: u16;
// Required methods
fn clear(&mut self);
fn is_empty(&self) -> bool;
fn len(&self) -> usize;
fn extend_from_slice(&mut self, other: &[u8]) -> Result<(), ()>;
fn as_ref(&self) -> &[u8];
}Required Associated Constants§
Required Methods§
fn clear(&mut self)
fn is_empty(&self) -> bool
fn len(&self) -> usize
fn extend_from_slice(&mut self, other: &[u8]) -> Result<(), ()>
fn as_ref(&self) -> &[u8]
Object Safety§
This trait is not object safe.