pub struct TlsAnonymousConnector(/* private fields */);Expand description
connect as anonymous client
Trait Implementations§
Source§impl Clone for TlsAnonymousConnector
impl Clone for TlsAnonymousConnector
Source§fn clone(&self) -> TlsAnonymousConnector
fn clone(&self) -> TlsAnonymousConnector
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl From<TlsConnector> for TlsAnonymousConnector
impl From<TlsConnector> for TlsAnonymousConnector
Source§fn from(connector: TlsConnector) -> Self
fn from(connector: TlsConnector) -> Self
Converts to this type from the input type.
Source§impl TcpDomainConnector for TlsAnonymousConnector
impl TcpDomainConnector for TlsAnonymousConnector
fn connect<'life0, 'life1, 'async_trait>(
&'life0 self,
domain: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<(BoxWriteConnection, BoxReadConnection, ConnectionFd), IoError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn new_domain(&self, _domain: String) -> DomainConnector
fn domain(&self) -> &str
fn clone_box(&self) -> DomainConnector
Auto Trait Implementations§
impl Freeze for TlsAnonymousConnector
impl RefUnwindSafe for TlsAnonymousConnector
impl Send for TlsAnonymousConnector
impl Sync for TlsAnonymousConnector
impl Unpin for TlsAnonymousConnector
impl UnwindSafe for TlsAnonymousConnector
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more