[][src]Enum amq_protocol::frame::AMQPChannel

pub enum AMQPChannel {
    Global,
    Id(ShortUInt),
}

Enum representing an AMQP channel

Variants

Global

The Global (id 0) AMQP channel used for creating other channels and for heartbeat

A regular AMQP channel

Implementations

impl AMQPChannel[src]

pub fn get_id(self) -> ShortUInt[src]

Get the channel id

Trait Implementations

impl Clone for AMQPChannel[src]

impl Copy for AMQPChannel[src]

impl Debug for AMQPChannel[src]

impl Eq for AMQPChannel[src]

impl From<u16> for AMQPChannel[src]

impl PartialEq<AMQPChannel> for AMQPChannel[src]

impl StructuralEq for AMQPChannel[src]

impl StructuralPartialEq for AMQPChannel[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.