[][src]Struct lapin_futures_rustls::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, F> AMQPConnectionTlsExt<TlsStream, F> for AMQPUri where
    F: 'static + Send + FnOnce(Error),
    TlsStream: 'static + Send + Sync + AsyncRead + AsyncWrite
[src]

impl Debug for AMQPUri[src]

impl PartialEq<AMQPUri> 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 FromStr for AMQPUri[src]

type Err = String

The associated error which can be returned from parsing.

impl Default for AMQPUri[src]

impl<F: FnOnce(Error) + Send + 'static> AMQPConnectionRustlsExt<F> for AMQPUri[src]

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

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

fn connect_cancellable(
    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

Auto Trait Implementations

impl Send for AMQPUri

impl Sync for AMQPUri

Blanket Implementations

impl<T> From for T[src]

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, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

impl<T> Any for T where
    T: 'static + ?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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Erased for T