Trait ssh_format::SerBacker
source · pub trait SerBacker {
// Required methods
fn new() -> Self;
fn len(&self) -> usize;
fn get_first_4byte_slice(&mut self) -> &mut [u8; 4];
fn extend_from_slice(&mut self, other: &[u8]);
fn push(&mut self, byte: u8);
fn reset(&mut self);
fn reserve(&mut self, additional: usize);
}
Expand description
A trait for which can be used to store serialized output.
Required Methods§
fn len(&self) -> usize
fn get_first_4byte_slice(&mut self) -> &mut [u8; 4]
fn extend_from_slice(&mut self, other: &[u8])
fn push(&mut self, byte: u8)
Object Safety§
This trait is not object safe.