[−][src]Struct ntex_amqp::Session
Methods
impl Session
[src]
pub fn remote_config(&self) -> &Configuration
[src]
Get remote connection configuration
pub fn close(&self) -> impl Future<Output = Result<(), AmqpTransportError>>
[src]
pub fn get_sender_link(&self, name: &str) -> Option<&SenderLink>
[src]
pub fn get_sender_link_by_handle(&self, hnd: Handle) -> Option<&SenderLink>
[src]
pub fn get_receiver_link_by_handle(&self, hnd: Handle) -> Option<&ReceiverLink>
[src]
pub fn build_sender_link<T: Into<String>, U: Into<String>>(
&mut self,
name: U,
address: T
) -> SenderLinkBuilder
[src]
&mut self,
name: U,
address: T
) -> SenderLinkBuilder
Open sender link
pub fn build_receiver_link<T: Into<String>, U: Into<String>>(
&mut self,
name: U,
address: T
) -> ReceiverLinkBuilder
[src]
&mut self,
name: U,
address: T
) -> ReceiverLinkBuilder
Open receiver link
pub fn detach_receiver_link(
&mut self,
handle: Handle,
error: Option<Error>
) -> impl Future<Output = Result<(), AmqpTransportError>>
[src]
&mut self,
handle: Handle,
error: Option<Error>
) -> impl Future<Output = Result<(), AmqpTransportError>>
Detach receiver link
pub fn wait_disposition(
&mut self,
id: DeliveryNumber
) -> impl Future<Output = Result<Disposition, AmqpTransportError>>
[src]
&mut self,
id: DeliveryNumber
) -> impl Future<Output = Result<Disposition, AmqpTransportError>>
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Session
impl !Send for Session
impl !Sync for Session
impl Unpin for Session
impl !UnwindSafe for Session
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,