Struct ntex_amqp::Connection [−][src]
pub struct Connection(_);
Implementations
Force close connection
Get connection error
Gracefully close connection
pub fn close_with_error<E>(
&self,
_err: E
) -> impl Future<Output = Result<(), AmqpProtocolError>> where
Error: From<E>,
pub fn close_with_error<E>(
&self,
_err: E
) -> impl Future<Output = Result<(), AmqpProtocolError>> where
Error: From<E>,
Close connection with error
Opens the session
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Connection
impl !Send for Connection
impl !Sync for Connection
impl Unpin for Connection
impl !UnwindSafe for Connection
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self