[][src]Struct lapin_async::channels::Channels

pub struct Channels { /* fields omitted */ }

Methods

impl Channels[src]

pub fn create(&self, connection: Connection) -> Result<Channel, Error>[src]

pub fn get(&self, id: u16) -> Option<Channel>[src]

pub fn remove(&self, id: u16) -> Result<(), Error>[src]

pub fn receive_method(&self, id: u16, method: AMQPClass) -> Result<(), Error>[src]

pub fn handle_content_header_frame(
    &self,
    id: u16,
    size: u64,
    properties: BasicProperties
) -> Result<(), Error>
[src]

pub fn handle_body_frame(&self, id: u16, payload: Vec<u8>) -> Result<(), Error>[src]

pub fn set_closing(&self)[src]

pub fn set_closed(&self) -> Result<(), Error>[src]

pub fn set_error(&self) -> Result<(), Error>[src]

Trait Implementations

impl Default for Channels[src]

impl Clone for Channels[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Channels[src]

Auto Trait Implementations

impl Send for Channels

impl Sync for Channels

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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]