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

pub struct Queue {
    pub name: String,
    pub consumers: HashMap<String, Consumer>,
    pub stats: QueueStats,
    // some fields omitted
}

Fields

name: Stringconsumers: HashMap<String, Consumer>stats: QueueStats

Methods

impl Queue[src]

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

pub fn get_basic_get_message(
    &mut self,
    request_id: RequestId
) -> Option<BasicGetMessage>
[src]

pub fn drop_prefetched_messages(&mut self)[src]

pub fn start_new_delivery(&mut self, delivery: BasicGetMessage)[src]

pub fn set_delivery_properties(&mut self, properties: BasicProperties)[src]

pub fn receive_delivery_content(&mut self, payload: Vec<u8>)[src]

pub fn new_delivery_complete(&mut self, request_id: RequestId)[src]

Trait Implementations

impl Debug for Queue[src]

Auto Trait Implementations

impl Send for Queue

impl Sync for Queue

Blanket Implementations

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

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

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

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