pub struct DefaultTlsSetup;
Expand description
The default tls setup, which just calls builder.build()
Trait Implementations§
Source§impl Clone for DefaultTlsSetup
impl Clone for DefaultTlsSetup
Source§fn clone(&self) -> DefaultTlsSetup
fn clone(&self) -> DefaultTlsSetup
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 Debug for DefaultTlsSetup
impl Debug for DefaultTlsSetup
Source§impl PartialEq for DefaultTlsSetup
impl PartialEq for DefaultTlsSetup
Source§impl SetupTls for DefaultTlsSetup
impl SetupTls for DefaultTlsSetup
Source§fn setup(self, builder: TlsConnectorBuilder) -> Result<TlsConnector, Error>
fn setup(self, builder: TlsConnectorBuilder) -> Result<TlsConnector, Error>
Accepts a connection builder and returns a connector if possible
impl StructuralPartialEq for DefaultTlsSetup
Auto Trait Implementations§
impl Freeze for DefaultTlsSetup
impl RefUnwindSafe for DefaultTlsSetup
impl Send for DefaultTlsSetup
impl Sync for DefaultTlsSetup
impl Unpin for DefaultTlsSetup
impl UnwindSafe for DefaultTlsSetup
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