Struct lapin_async::channel::Channel
source · pub struct Channel {Show 14 fields
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>
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Channel
impl Send for Channel
impl Sync for Channel
impl Unpin for Channel
impl !UnwindSafe for Channel
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more