[−][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 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>
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>
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>
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>
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 Clone for AMQPUri
[src]
impl Debug for AMQPUri
[src]
impl Default for AMQPUri
[src]
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 PartialEq<AMQPUri> for AMQPUri
[src]
impl StructuralPartialEq for AMQPUri
[src]
Auto Trait Implementations
impl RefUnwindSafe for AMQPUri
impl Send for AMQPUri
impl Sync for AMQPUri
impl Unpin for AMQPUri
impl UnwindSafe for AMQPUri
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Erased for T
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> 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, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,