[][src]Struct lapin_async::channel::Channel

pub struct Channel {
    pub id: u16,
    pub state: ChannelState,
    pub frame_queue: VecDeque<AMQPFrame>,
    pub send_flow: bool,
    pub receive_flow: bool,
    pub queues: HashMap<String, Queue>,
    pub prefetch_size: u32,
    pub prefetch_count: u16,
    pub awaiting: VecDeque<Answer>,
    pub confirm: bool,
    pub message_count: u64,
    pub acked: HashSet<u64>,
    pub nacked: HashSet<u64>,
    pub unacked: HashSet<u64>,
}

Fields

id: u16state: ChannelStateframe_queue: VecDeque<AMQPFrame>send_flow: boolreceive_flow: boolqueues: HashMap<String, Queue>prefetch_size: u32prefetch_count: u16awaiting: VecDeque<Answer>confirm: boolmessage_count: u64acked: HashSet<u64>nacked: HashSet<u64>unacked: HashSet<u64>

Methods

impl Channel[src]

pub fn new(channel_id: u16) -> Channel[src]

pub fn global() -> Channel[src]

pub fn received_method(&mut self, m: AMQPClass)[src]

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

Trait Implementations

impl Debug for Channel[src]

Auto Trait Implementations

impl Send for Channel

impl Sync for Channel

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

impl<T> Erased for T