pub struct Tls {
pub default_identity: String,
pub identities: BTreeMap<String, TlsIdentity>,
pub askpass: Option<String>,
}Expand description
TLS configuration with identities and optional askpass.
Fields§
§default_identity: String§identities: BTreeMap<String, TlsIdentity>§askpass: Option<String>Implementations§
Source§impl Tls
impl Tls
pub fn reverse_domain_name(name: &mut String)
pub fn default_identity(&self) -> &TlsIdentity
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Tls
impl RefUnwindSafe for Tls
impl Send for Tls
impl Sync for Tls
impl Unpin for Tls
impl UnsafeUnpin for Tls
impl UnwindSafe for Tls
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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