Struct ntex_amqp::ReceiverLink
source · pub struct ReceiverLink { /* private fields */ }
Implementations§
source§impl ReceiverLink
impl ReceiverLink
pub fn name(&self) -> &ByteString
pub fn handle(&self) -> Handle
pub fn remote_handle(&self) -> Handle
pub fn credit(&self) -> u32
pub fn session(&self) -> &Session
pub fn is_closed(&self) -> bool
pub fn error(&self) -> Option<&Error>
pub fn set_link_credit(&self, credit: u32)
sourcepub fn set_max_message_size(&self, size: u64)
pub fn set_max_message_size(&self, size: u64)
Set max message size.
sourcepub fn has_deliveries(&self) -> bool
pub fn has_deliveries(&self) -> bool
Check deliveries
sourcepub fn get_delivery(&self) -> Option<(Delivery, Transfer)>
pub fn get_delivery(&self) -> Option<(Delivery, Transfer)>
Get delivery
sourcepub fn send_disposition(&self, disp: Disposition)
pub fn send_disposition(&self, disp: Disposition)
Send disposition frame
pub fn close(&self) -> impl Future<Output = Result<(), AmqpProtocolError>>
pub fn close_with_error<E>( &self, error: E ) -> impl Future<Output = Result<(), AmqpProtocolError>>
Trait Implementations§
source§impl Clone for ReceiverLink
impl Clone for ReceiverLink
source§fn clone(&self) -> ReceiverLink
fn clone(&self) -> ReceiverLink
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ReceiverLink
impl Debug for ReceiverLink
source§impl Hash for ReceiverLink
impl Hash for ReceiverLink
source§impl PartialEq for ReceiverLink
impl PartialEq for ReceiverLink
source§fn eq(&self, other: &ReceiverLink) -> bool
fn eq(&self, other: &ReceiverLink) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Stream for ReceiverLink
impl Stream for ReceiverLink
impl Eq for ReceiverLink
Auto Trait Implementations§
impl Freeze for ReceiverLink
impl !RefUnwindSafe for ReceiverLink
impl !Send for ReceiverLink
impl !Sync for ReceiverLink
impl Unpin for ReceiverLink
impl !UnwindSafe for ReceiverLink
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