gamqp/amqp091/channel
Channels are lightweight sessions multiplexed over one connection. Most broker errors close the channel they happened on, not the connection.
Types
pub type Channel =
client.Channel
Values
pub fn close(
channel: client.Channel,
) -> Result(Nil, core.AmqpError)
pub fn connection(channel: client.Channel) -> client.Connection
pub fn id(channel: client.Channel) -> Int
pub fn open(
connection: client.Connection,
) -> Result(client.Channel, core.AmqpError)