Struct dove::container::Connection[][src]

pub struct Connection {
    pub container_id: String,
    pub host: SocketAddr,
    pub channel_max: u16,
    pub idle_timeout: Duration,
    pub remote_idle_timeout: Duration,
    pub remote_container_id: String,
    pub remote_channel_max: u16,
    // some fields omitted
}
Expand description

Represents a single AMQP connection to a remote endpoint.

Fields

container_id: Stringhost: SocketAddrchannel_max: u16idle_timeout: Durationremote_idle_timeout: Durationremote_container_id: Stringremote_channel_max: u16

Implementations

Create a new session over this connection. Returns a session once the other endpoint have confirmed the creation.

Close a connection, ending the close performative.

Trait Implementations

Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.