Trait bin_utils::WriteCappedCtx
source · pub trait WriteCappedCtx<const CAP: usize, Ctx> {
// Required method
fn to_bytes(&self, ctx: Ctx) -> Vec<u8, CAP>;
}Expand description
A trait for writing a capped amount of data, with context.