[][src]Trait internet2::presentation::payload::Extract

pub trait Extract: AsAny {
    pub fn get_type(&self) -> TypeId;
pub fn get_payload(&self) -> Source;
pub fn get_tlvs(&self) -> Stream; pub fn to_type<T>(&self) -> T
    where
        Self: Sized,
        TypeId: Into<T>
, { ... }
pub fn try_to_type<T>(&self) -> Result<T, <TypeId as TryInto<T>>::Error>
    where
        Self: Sized,
        TypeId: TryInto<T>
, { ... } }

Required methods

pub fn get_type(&self) -> TypeId[src]

pub fn get_payload(&self) -> Source[src]

pub fn get_tlvs(&self) -> Stream[src]

Loading content...

Provided methods

pub fn to_type<T>(&self) -> T where
    Self: Sized,
    TypeId: Into<T>, 
[src]

pub fn try_to_type<T>(&self) -> Result<T, <TypeId as TryInto<T>>::Error> where
    Self: Sized,
    TypeId: TryInto<T>, 
[src]

Loading content...

Implementors

impl Extract for Payload[src]

Loading content...