Struct lapin_async::channel::Channel
[−]
[src]
pub struct Channel { pub id: u16, pub state: ChannelState, pub frame_queue: VecDeque<Frame>, 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>, }
Fields
id: u16
state: ChannelState
frame_queue: VecDeque<Frame>
send_flow: bool
receive_flow: bool
queues: HashMap<String, Queue>
prefetch_size: u32
prefetch_count: u16
awaiting: VecDeque<Answer>
Methods
impl Channel
[src]
fn new(channel_id: u16) -> Channel
fn global() -> Channel
fn received_method(&mut self, m: Class)
fn is_connected(&self) -> bool
Trait Implementations
impl Clone for Channel
[src]
fn clone(&self) -> Channel
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more