Trait minicbor::bytes::EncodeBytes[][src]

pub trait EncodeBytes {
    fn encode_bytes<W: Write>(
        &self,
        e: &mut Encoder<W>
    ) -> Result<(), Error<W::Error>>; }

Like Encode but specific for encoding of byte slices.

Required methods

fn encode_bytes<W: Write>(
    &self,
    e: &mut Encoder<W>
) -> Result<(), Error<W::Error>>
[src]

Loading content...

Implementations on Foreign Types

impl<'a, T: EncodeBytes + ?Sized> EncodeBytes for &'a T[src]

impl EncodeBytes for [u8][src]

impl EncodeBytes for Vec<u8>[src]

impl<T: EncodeBytes> EncodeBytes for Option<T>[src]

Loading content...

Implementors

impl EncodeBytes for ByteSlice[src]

impl EncodeBytes for ByteVec[src]

Loading content...