pub struct TlsDomainConnector { /* private fields */ }Implementations§
Source§impl TlsDomainConnector
impl TlsDomainConnector
pub fn new(connector: TlsConnector, domain: String) -> Self
Trait Implementations§
Source§impl Clone for TlsDomainConnector
impl Clone for TlsDomainConnector
Source§fn clone(&self) -> TlsDomainConnector
fn clone(&self) -> TlsDomainConnector
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 TcpDomainConnector for TlsDomainConnector
impl TcpDomainConnector for TlsDomainConnector
fn connect<'life0, 'life1, 'async_trait>(
&'life0 self,
addr: &'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 TlsDomainConnector
impl RefUnwindSafe for TlsDomainConnector
impl Send for TlsDomainConnector
impl Sync for TlsDomainConnector
impl Unpin for TlsDomainConnector
impl UnwindSafe for TlsDomainConnector
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