Trait WriteCapped

Source
pub trait WriteCapped<const CAP: usize> {
    // Required method
    fn to_bytes(&self) -> Vec<u8, CAP>;
}
Expand description

A trait for writing a capped amount of data.

Required Methods§

Source

fn to_bytes(&self) -> Vec<u8, CAP>

Implementors§