[−][src]Struct lapin_futures_openssl::uri::AMQPUri
An AMQP Uri
Fields
scheme: AMQPScheme
The scheme used by the AMQP connection
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]
TlsStream: 'static + Send + Sync + AsyncRead + AsyncWrite,
fn connect<Connector>(
self,
connector: Connector
) -> Box<dyn Future<Error = Error, Item = (Client<AMQPStream<TlsStream>>, HeartbeatHandle, Box<dyn Future<Error = Error, Item = ()> + 'static + Send>)> + 'static + Send> where
Connector: 'static + Send + FnOnce(String, TcpStream) -> Box<dyn Future<Error = Error, Item = Box<TlsStream>> + 'static + Send>,
[src]
self,
connector: Connector
) -> Box<dyn Future<Error = Error, Item = (Client<AMQPStream<TlsStream>>, HeartbeatHandle, Box<dyn Future<Error = Error, Item = ()> + 'static + Send>)> + 'static + Send> where
Connector: 'static + Send + FnOnce(String, TcpStream) -> Box<dyn Future<Error = Error, Item = Box<TlsStream>> + 'static + Send>,
fn connect_cancellable<Connector, F>(
self,
heartbeat_error_handler: F,
connector: Connector
) -> Box<dyn Future<Error = Error, Item = (Client<AMQPStream<TlsStream>>, HeartbeatHandle)> + 'static + Send> where
Connector: 'static + Send + FnOnce(String, TcpStream) -> Box<dyn Future<Error = Error, Item = Box<TlsStream>> + 'static + Send>,
F: 'static + Send + FnOnce(Error),
[src]
self,
heartbeat_error_handler: F,
connector: Connector
) -> Box<dyn Future<Error = Error, Item = (Client<AMQPStream<TlsStream>>, HeartbeatHandle)> + 'static + Send> where
Connector: 'static + Send + FnOnce(String, TcpStream) -> Box<dyn Future<Error = Error, Item = Box<TlsStream>> + 'static + Send>,
F: 'static + Send + FnOnce(Error),
fn connect_full<Connector>(
self,
connector: Connector,
properties: ConnectionProperties
) -> Box<dyn Future<Error = Error, Item = (Client<AMQPStream<TlsStream>>, HeartbeatHandle, Box<dyn Future<Error = Error, Item = ()> + 'static + Send>)> + 'static + Send> where
Connector: 'static + Send + FnOnce(String, TcpStream) -> Box<dyn Future<Error = Error, Item = Box<TlsStream>> + 'static + Send>,
[src]
self,
connector: Connector,
properties: ConnectionProperties
) -> Box<dyn Future<Error = Error, Item = (Client<AMQPStream<TlsStream>>, HeartbeatHandle, Box<dyn Future<Error = Error, Item = ()> + 'static + Send>)> + 'static + Send> where
Connector: 'static + Send + FnOnce(String, TcpStream) -> Box<dyn Future<Error = Error, Item = Box<TlsStream>> + 'static + Send>,
fn connect_cancellable_full<Connector, F>(
self,
heartbeat_error_handler: F,
connector: Connector,
properties: ConnectionProperties
) -> Box<dyn Future<Error = Error, Item = (Client<AMQPStream<TlsStream>>, HeartbeatHandle)> + 'static + Send> where
Connector: 'static + Send + FnOnce(String, TcpStream) -> Box<dyn Future<Error = Error, Item = Box<TlsStream>> + 'static + Send>,
F: 'static + Send + FnOnce(Error),
[src]
self,
heartbeat_error_handler: F,
connector: Connector,
properties: ConnectionProperties
) -> Box<dyn Future<Error = Error, Item = (Client<AMQPStream<TlsStream>>, HeartbeatHandle)> + 'static + Send> where
Connector: 'static + Send + FnOnce(String, TcpStream) -> Box<dyn Future<Error = Error, Item = Box<TlsStream>> + 'static + Send>,
F: 'static + Send + FnOnce(Error),
impl FromStr for AMQPUri
[src]
type Err = String
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<AMQPUri, <AMQPUri as FromStr>::Err>
[src]
impl Default for AMQPUri
[src]
impl PartialEq<AMQPUri> for AMQPUri
[src]
impl Debug for AMQPUri
[src]
impl Clone for AMQPUri
[src]
fn clone(&self) -> 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]
self
) -> Box<dyn Future<Item = (Client<AMQPStream>, HeartbeatHandle, Box<dyn Future<Item = (), Error = Error> + Send + 'static>), Error = Error> + Send + 'static>
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]
self,
heartbeat_error_handler: F
) -> Box<dyn Future<Item = (Client<AMQPStream>, HeartbeatHandle), Error = Error> + Send + 'static>
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]
self,
properties: ConnectionProperties
) -> Box<dyn Future<Item = (Client<AMQPStream>, HeartbeatHandle, Box<dyn Future<Item = (), Error = Error> + Send + 'static>), Error = Error> + Send + 'static>
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]
self,
heartbeat_error_handler: F,
properties: ConnectionProperties
) -> Box<dyn Future<Item = (Client<AMQPStream>, HeartbeatHandle), Error = Error> + Send + 'static>
Method providing a lapin_futures::client::Client
and lapin_futures::client::HeartbeatHandle
wrapped in a Future
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,