pub struct SenderLink { /* private fields */ }Implementations§
Source§impl SenderLink
impl SenderLink
pub fn id(&self) -> u32
pub fn name(&self) -> &ByteString
pub fn remote_handle(&self) -> Handle
pub fn session(&self) -> &Session
pub fn session_mut(&mut self) -> &mut Session
pub fn send<T>(
&self,
body: T,
) -> impl Future<Output = Result<Disposition, AmqpTransportError>>where
T: Into<TransferBody>,
pub fn send_with_tag<T>(
&self,
body: T,
tag: Bytes,
) -> impl Future<Output = Result<Disposition, AmqpTransportError>>where
T: Into<TransferBody>,
pub fn settle_message(&self, id: DeliveryNumber, state: DeliveryState)
pub fn close(&self) -> impl Future<Output = Result<(), AmqpTransportError>>
pub fn close_with_error( &self, error: Error, ) -> impl Future<Output = Result<(), AmqpTransportError>>
Trait Implementations§
Source§impl Clone for SenderLink
impl Clone for SenderLink
Source§fn clone(&self) -> SenderLink
fn clone(&self) -> SenderLink
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for SenderLink
impl !RefUnwindSafe for SenderLink
impl !Send for SenderLink
impl !Sync for SenderLink
impl Unpin for SenderLink
impl !UnwindSafe for SenderLink
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more