Struct lapin_async::channel::Channel  [−][src]
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: u16
                           
                           
                           
                           state: ChannelState
                           
                           
                           
                           frame_queue: VecDeque<AMQPFrame>
                           
                           
                           
                           send_flow: bool
                           
                           
                           
                           receive_flow: bool
                           
                           
                           
                           queues: HashMap<String, Queue>
                           
                           
                           
                           prefetch_size: u32
                           
                           
                           
                           prefetch_count: u16
                           
                           
                           
                           awaiting: VecDeque<Answer>
                           
                           
                           
                           confirm: bool
                           
                           
                           
                           message_count: u64
                           
                           
                           
                           acked: HashSet<u64>
                           
                           
                           
                           nacked: HashSet<u64>
                           
                           
                           
                           unacked: HashSet<u64>
                           
                    Methods
impl Channel[src] 
impl Channelpub fn new(channel_id: u16) -> Channel[src] 
pub fn new(channel_id: u16) -> Channelpub fn global() -> Channel[src] 
pub fn global() -> Channelpub fn received_method(&mut self, m: AMQPClass)[src] 
pub fn received_method(&mut self, m: AMQPClass)pub fn is_connected(&self) -> bool[src] 
pub fn is_connected(&self) -> bool