[][src]Struct ntex_amqp::codec::protocol::Transfer

pub struct Transfer {
    pub handle: u32,
    pub delivery_id: Option<u32>,
    pub delivery_tag: Option<Bytes>,
    pub message_format: Option<u32>,
    pub settled: Option<bool>,
    pub more: bool,
    pub rcv_settle_mode: Option<ReceiverSettleMode>,
    pub state: Option<DeliveryState>,
    pub resume: bool,
    pub aborted: bool,
    pub batchable: bool,
    pub body: Option<TransferBody>,
}

Fields

handle: u32delivery_id: Option<u32>delivery_tag: Option<Bytes>message_format: Option<u32>settled: Option<bool>more: boolrcv_settle_mode: Option<ReceiverSettleMode>state: Option<DeliveryState>resume: boolaborted: boolbatchable: boolbody: Option<TransferBody>

Implementations

impl Transfer[src]

pub fn handle(&self) -> u32[src]

pub fn delivery_id(&self) -> Option<u32>[src]

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

pub fn message_format(&self) -> Option<u32>[src]

pub fn settled(&self) -> Option<bool>[src]

pub fn more(&self) -> bool[src]

pub fn rcv_settle_mode(&self) -> Option<ReceiverSettleMode>[src]

pub fn state(&self) -> Option<&DeliveryState>[src]

pub fn resume(&self) -> bool[src]

pub fn aborted(&self) -> bool[src]

pub fn batchable(&self) -> bool[src]

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

Trait Implementations

impl Clone for Transfer[src]

impl Debug for Transfer[src]

impl Encode for Transfer[src]

impl From<Transfer> for Frame[src]

impl PartialEq<Transfer> for Transfer[src]

impl StructuralPartialEq for Transfer[src]

Auto Trait Implementations

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> Decode for T where
    T: DecodeFormatted, 
[src]

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

impl<T> Instrument 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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,