Struct mail_smtp::misc::DefaultTlsSetup
source · pub struct DefaultTlsSetup;
Expand description
The default tls setup, which just calls builder.build()
Trait Implementations
sourceimpl Clone for DefaultTlsSetup
impl Clone for DefaultTlsSetup
sourcefn clone(&self) -> DefaultTlsSetup
fn clone(&self) -> DefaultTlsSetup
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for DefaultTlsSetup
impl Debug for DefaultTlsSetup
sourceimpl PartialEq<DefaultTlsSetup> for DefaultTlsSetup
impl PartialEq<DefaultTlsSetup> for DefaultTlsSetup
sourcefn eq(&self, other: &DefaultTlsSetup) -> bool
fn eq(&self, other: &DefaultTlsSetup) -> bool
sourceimpl SetupTls for DefaultTlsSetup
impl SetupTls for DefaultTlsSetup
sourcefn 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 RefUnwindSafe for DefaultTlsSetup
impl Send for DefaultTlsSetup
impl Sync for DefaultTlsSetup
impl Unpin for DefaultTlsSetup
impl UnwindSafe for DefaultTlsSetup
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more