pub struct RustlsProvider<T> { /* private fields */ }
Expand description
TLS provider for RustTLS.
Use the ::from impls with either a TlsAcceptor or TlsConnector
Trait Implementations§
Source§impl<T: Clone> Clone for RustlsProvider<T>
impl<T: Clone> Clone for RustlsProvider<T>
Source§fn clone(&self) -> RustlsProvider<T>
fn clone(&self) -> RustlsProvider<T>
Returns a copy 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 Debug for RustlsProvider<TlsAcceptor>
impl Debug for RustlsProvider<TlsAcceptor>
Source§impl Debug for RustlsProvider<TlsConnector>
impl Debug for RustlsProvider<TlsConnector>
Source§impl From<TlsAcceptor> for RustlsProvider<TlsAcceptor>
impl From<TlsAcceptor> for RustlsProvider<TlsAcceptor>
Source§fn from(acceptor: TlsAcceptor) -> Self
fn from(acceptor: TlsAcceptor) -> Self
Converts to this type from the input type.
Source§impl From<TlsConnector> for RustlsProvider<TlsConnector>
impl From<TlsConnector> for RustlsProvider<TlsConnector>
Source§fn from(connector: TlsConnector) -> Self
fn from(connector: TlsConnector) -> Self
Converts to this type from the input type.
Source§impl TlsProvider for RustlsProvider<TlsAcceptor>
impl TlsProvider for RustlsProvider<TlsAcceptor>
fn get_tls_upgrade(&self) -> Option<Box<dyn TlsUpgrade>>
Source§impl TlsProvider for RustlsProvider<TlsConnector>
impl TlsProvider for RustlsProvider<TlsConnector>
fn get_tls_upgrade(&self) -> Option<Box<dyn TlsUpgrade>>
Source§impl TlsUpgrade for RustlsProvider<TlsAcceptor>
impl TlsUpgrade for RustlsProvider<TlsAcceptor>
Source§impl TlsUpgrade for RustlsProvider<TlsConnector>
impl TlsUpgrade for RustlsProvider<TlsConnector>
Auto Trait Implementations§
impl<T> Freeze for RustlsProvider<T>where
T: Freeze,
impl<T> RefUnwindSafe for RustlsProvider<T>where
T: RefUnwindSafe,
impl<T> Send for RustlsProvider<T>where
T: Send,
impl<T> Sync for RustlsProvider<T>where
T: Sync,
impl<T> Unpin for RustlsProvider<T>where
T: Unpin,
impl<T> UnwindSafe for RustlsProvider<T>where
T: UnwindSafe,
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