Trait internet2::Unmarshall

source ·
pub trait Unmarshall {
    type Data;
    type Error: Error;

    // Required method
    fn unmarshall(&self, reader: impl Read) -> Result<Self::Data, Self::Error>;
}

Required Associated Types§

Required Methods§

source

fn unmarshall(&self, reader: impl Read) -> Result<Self::Data, Self::Error>

Implementors§

source§

impl Unmarshall for internet2::presentation::tlv::Unmarshaller

§

type Data = Stream

§

type Error = Error

source§

impl<T> Unmarshall for internet2::presentation::Unmarshaller<T>where
T: TypedEnum,

§

type Data = Arc<T>

§

type Error = Error