Trait cbor_data::CborOutput[][src]

pub trait CborOutput {
    type Output;
    fn output(bytes: &[u8]) -> Self::Output;
}

Marker trait to distinguish a builder that emits an owned value from one that appends to a vector

Associated Types

Loading content...

Required methods

fn output(bytes: &[u8]) -> Self::Output[src]

Loading content...

Implementors

impl CborOutput for NoOutput[src]

type Output = ()

impl CborOutput for WithOutput[src]

type Output = CborOwned

Loading content...