[][src]Struct lapin_async::queue::Queue

pub struct Queue {
    pub name: String,
    pub bindings: HashMap<(String, String), Binding>,
    pub consumers: HashMap<String, Consumer>,
    pub message_count: u32,
    pub consumer_count: u32,
    pub get_messages: VecDeque<BasicGetMessage>,
    pub current_get_message: Option<BasicGetMessage>,
}

Fields

name: Stringbindings: HashMap<(String, String), Binding>consumers: HashMap<String, Consumer>message_count: u32consumer_count: u32get_messages: VecDeque<BasicGetMessage>current_get_message: Option<BasicGetMessage>

Methods

impl Queue[src]

pub fn new(name: String, message_count: u32, consumer_count: u32) -> Queue[src]

pub fn next_basic_get_message(&mut self) -> Option<BasicGetMessage>[src]

Trait Implementations

impl Debug for Queue[src]

Auto Trait Implementations

impl Send for Queue

impl Sync for Queue

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