[][src]Struct lapin_futures_openssl::uri::AMQPUri

pub struct AMQPUri {
    pub scheme: AMQPScheme,
    pub authority: AMQPAuthority,
    pub vhost: String,
    pub query: AMQPQueryString,
}

An AMQP Uri

Fields

scheme: AMQPScheme

The scheme used by the AMQP connection

authority: AMQPAuthority

The connection information

vhost: String

The target vhost

query: AMQPQueryString

The optional query string to pass parameters to the server

Trait Implementations

impl<TlsStream> AMQPConnectionTlsExt<TlsStream> for AMQPUri where
    TlsStream: 'static + Send + Sync + AsyncRead + AsyncWrite
[src]

impl FromStr for AMQPUri[src]

type Err = String

The associated error which can be returned from parsing.

impl Default for AMQPUri[src]

impl PartialEq<AMQPUri> for AMQPUri[src]

impl Debug for AMQPUri[src]

impl Clone for AMQPUri[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl AMQPConnectionOpensslExt for AMQPUri[src]

fn connect(
    self
) -> Box<dyn Future<Item = (Client<AMQPStream>, HeartbeatHandle, Box<dyn Future<Item = (), Error = Error> + Send + 'static>), Error = Error> + Send + 'static>
[src]

Method providing a lapin_futures::client::Client, a lapin_futures::client::HeartbeatHandle and a lapin::client::Heartbeat pulse wrapped in a Future

fn connect_cancellable<F: FnOnce(Error) + Send + 'static>(
    self,
    heartbeat_error_handler: F
) -> Box<dyn Future<Item = (Client<AMQPStream>, HeartbeatHandle), Error = Error> + Send + 'static>
[src]

Method providing a lapin_futures::client::Client and lapin_futures::client::HeartbeatHandle wrapped in a Future

fn connect_full(
    self,
    properties: ConnectionProperties
) -> Box<dyn Future<Item = (Client<AMQPStream>, HeartbeatHandle, Box<dyn Future<Item = (), Error = Error> + Send + 'static>), Error = Error> + Send + 'static>
[src]

Method providing a lapin_futures::client::Client, a lapin_futures::client::HeartbeatHandle and a lapin::client::Heartbeat pulse wrapped in a Future

fn connect_cancellable_full<F: FnOnce(Error) + Send + 'static>(
    self,
    heartbeat_error_handler: F,
    properties: ConnectionProperties
) -> Box<dyn Future<Item = (Client<AMQPStream>, HeartbeatHandle), Error = Error> + Send + 'static>
[src]

Method providing a lapin_futures::client::Client and lapin_futures::client::HeartbeatHandle wrapped in a Future

Auto Trait Implementations

impl Send for AMQPUri

impl Sync for AMQPUri

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T