[−][src]Struct lapin_futures_rustls::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, F> AMQPConnectionTlsExt<TlsStream, F> for AMQPUri where
F: 'static + Send + FnOnce(Error),
TlsStream: 'static + Send + Sync + AsyncRead + AsyncWrite,
[src]
F: 'static + Send + FnOnce(Error),
TlsStream: 'static + Send + Sync + AsyncRead + AsyncWrite,
fn connect<Connector>(
self,
heartbeat_error_handler: F,
connector: Connector
) -> Box<dyn Future<Error = Error, Item = Client<AMQPStream<TlsStream>>> + 'static + Send> where
Connector: 'static + Send + FnOnce(String, TcpStream) -> Box<dyn Future<Error = Error, Item = Box<TlsStream>> + 'static + Send>,
[src]
self,
heartbeat_error_handler: F,
connector: Connector
) -> Box<dyn Future<Error = Error, Item = Client<AMQPStream<TlsStream>>> + 'static + Send> where
Connector: 'static + Send + FnOnce(String, TcpStream) -> Box<dyn Future<Error = Error, Item = Box<TlsStream>> + 'static + Send>,
fn connect_cancellable<Connector>(
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>,
[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>,
impl Debug for AMQPUri
[src]
impl PartialEq<AMQPUri> 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 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<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]
self,
heartbeat_error_handler: F
) -> Box<dyn Future<Item = Client<AMQPStream>, Error = Error> + Send + 'static>
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]
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
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
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, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?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
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.