Struct dove::container::Session [−][src]
pub struct Session { /* fields omitted */ }
Expand description
Represents an AMQP session.
Implementations
Create a new sender link for a given address cross this session. The sender is returned when the other side have confirmed its existence.
pub async fn new_sender_with_options(
&self,
address: &str,
options: impl Into<SenderOptions>
) -> Result<Sender>
pub async fn new_sender_with_options(
&self,
address: &str,
options: impl Into<SenderOptions>
) -> Result<Sender>
Create a new sender link for a given address cross this session. The sender is returned when the other side have confirmed its existence.
Create a new receiving link for a given address cross this session. The is returned when the other side have confirmed its existence.
pub async fn new_receiver_with_options(
&self,
address: &str,
options: impl Into<ReceiverOptions>
) -> Result<Receiver>
pub async fn new_receiver_with_options(
&self,
address: &str,
options: impl Into<ReceiverOptions>
) -> Result<Receiver>
Create a new receiving link for a given address cross this session. The is returned when the other side have confirmed its existence.