Struct ntex_amqp::types::Transfer[][src]

pub struct Transfer<S> { /* fields omitted */ }

Implementations

impl<S> Transfer<S>[src]

pub fn state(&self) -> &S[src]

pub fn session(&self) -> &Session[src]

pub fn session_mut(&mut self) -> &mut Session[src]

pub fn frame(&self) -> &Transfer[src]

pub fn body(&self) -> Option<&Bytes>[src]

pub fn load_message<T: Decode>(&self) -> Result<T, AmqpParseError>[src]

Trait Implementations

impl<S> Debug for Transfer<S>[src]

Auto Trait Implementations

impl<S> !RefUnwindSafe for Transfer<S>

impl<S> !Send for Transfer<S>

impl<S> !Sync for Transfer<S>

impl<S> Unpin for Transfer<S>

impl<S> !UnwindSafe for Transfer<S>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.