pub struct Channel { /* private fields */ }
๐Deprecated: use lapin instead
Implementationsยง
Sourceยงimpl Channel
impl Channel
pub fn status(&self) -> &ChannelStatus
๐Deprecated: use lapin instead
pub fn id(&self) -> u16
๐Deprecated: use lapin instead
pub fn close(&self, reply_code: ShortUInt, reply_text: &str) -> Confirmation<()>
๐Deprecated: use lapin instead
pub fn basic_consume( &self, queue: &Queue, consumer_tag: &str, options: BasicConsumeOptions, arguments: FieldTable, subscriber: Box<dyn ConsumerSubscriber>, ) -> Confirmation<ShortString>
๐Deprecated: use lapin instead
pub fn wait_for_confirms(&self) -> Confirmation<Vec<BasicReturnMessage>>
๐Deprecated: use lapin instead
Sourceยงimpl Channel
impl Channel
pub fn connection_blocked(&self, reason: &str) -> Confirmation<()>
๐Deprecated: use lapin instead
pub fn connection_unblocked(&self) -> Confirmation<()>
๐Deprecated: use lapin instead
pub fn channel_flow(&self, options: ChannelFlowOptions) -> Confirmation<Boolean>
๐Deprecated: use lapin instead
pub fn access_request( &self, realm: &str, options: AccessRequestOptions, ) -> Confirmation<()>
๐Deprecated: use lapin instead
pub fn exchange_declare( &self, exchange: &str, kind: &str, options: ExchangeDeclareOptions, arguments: FieldTable, ) -> Confirmation<()>
๐Deprecated: use lapin instead
pub fn exchange_delete( &self, exchange: &str, options: ExchangeDeleteOptions, ) -> Confirmation<()>
๐Deprecated: use lapin instead
pub fn exchange_bind( &self, destination: &str, source: &str, routing_key: &str, options: ExchangeBindOptions, arguments: FieldTable, ) -> Confirmation<()>
๐Deprecated: use lapin instead
pub fn exchange_unbind( &self, destination: &str, source: &str, routing_key: &str, options: ExchangeUnbindOptions, arguments: FieldTable, ) -> Confirmation<()>
๐Deprecated: use lapin instead
pub fn queue_declare( &self, queue: &str, options: QueueDeclareOptions, arguments: FieldTable, ) -> Confirmation<Queue>
๐Deprecated: use lapin instead
pub fn queue_bind( &self, queue: &str, exchange: &str, routing_key: &str, options: QueueBindOptions, arguments: FieldTable, ) -> Confirmation<()>
๐Deprecated: use lapin instead
pub fn queue_purge( &self, queue: &str, options: QueuePurgeOptions, ) -> Confirmation<LongUInt>
๐Deprecated: use lapin instead
pub fn queue_delete( &self, queue: &str, options: QueueDeleteOptions, ) -> Confirmation<LongUInt>
๐Deprecated: use lapin instead
pub fn queue_unbind( &self, queue: &str, exchange: &str, routing_key: &str, arguments: FieldTable, ) -> Confirmation<()>
๐Deprecated: use lapin instead
pub fn basic_qos( &self, prefetch_count: ShortUInt, options: BasicQosOptions, ) -> Confirmation<()>
๐Deprecated: use lapin instead
pub fn basic_cancel( &self, consumer_tag: &str, options: BasicCancelOptions, ) -> Confirmation<()>
๐Deprecated: use lapin instead
pub fn basic_publish( &self, exchange: &str, routing_key: &str, options: BasicPublishOptions, payload: Vec<u8>, properties: BasicProperties, ) -> Confirmation<()>
๐Deprecated: use lapin instead
pub fn basic_get( &self, queue: &str, options: BasicGetOptions, ) -> Confirmation<Option<BasicGetMessage>>
๐Deprecated: use lapin instead
pub fn basic_ack( &self, delivery_tag: LongLongUInt, options: BasicAckOptions, ) -> Confirmation<()>
๐Deprecated: use lapin instead
pub fn basic_reject( &self, delivery_tag: LongLongUInt, options: BasicRejectOptions, ) -> Confirmation<()>
๐Deprecated: use lapin instead
pub fn basic_recover_async( &self, options: BasicRecoverAsyncOptions, ) -> Confirmation<()>
๐Deprecated: use lapin instead
pub fn basic_recover(&self, options: BasicRecoverOptions) -> Confirmation<()>
๐Deprecated: use lapin instead
pub fn basic_nack( &self, delivery_tag: LongLongUInt, options: BasicNackOptions, ) -> Confirmation<()>
๐Deprecated: use lapin instead
pub fn tx_select(&self) -> Confirmation<()>
๐Deprecated: use lapin instead
pub fn tx_commit(&self) -> Confirmation<()>
๐Deprecated: use lapin instead
pub fn tx_rollback(&self) -> Confirmation<()>
๐Deprecated: use lapin instead
pub fn confirm_select(&self, options: ConfirmSelectOptions) -> Confirmation<()>
๐Deprecated: use lapin instead
Trait Implementationsยง
Auto Trait Implementationsยง
impl Freeze for Channel
impl !RefUnwindSafe for Channel
impl Send for Channel
impl Sync for Channel
impl Unpin for Channel
impl !UnwindSafe for Channel
Blanket Implementationsยง
Sourceยงimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Sourceยงfn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more