Trait minicbor::bytes::EncodeBytes
source · pub trait EncodeBytes {
// Required method
fn encode_bytes<W: Write>(
&self,
e: &mut Encoder<W>,
) -> Result<(), Error<W::Error>>;
// Provided method
fn is_nil(&self) -> bool { ... }
}
Expand description
Like Encode
but specific for encoding of byte slices.
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.