Struct tcp_stream::OwnedTLSConfig
source · pub struct OwnedTLSConfig {
pub identity: Option<OwnedIdentity>,
pub cert_chain: Option<String>,
}
Expand description
Holds extra TLS configuration
Fields§
§identity: Option<OwnedIdentity>
Use for client certificate authentication
cert_chain: Option<String>
The custom certificates chain in PEM format
Implementations§
Trait Implementations§
source§impl Debug for OwnedTLSConfig
impl Debug for OwnedTLSConfig
source§impl Default for OwnedTLSConfig
impl Default for OwnedTLSConfig
source§fn default() -> OwnedTLSConfig
fn default() -> OwnedTLSConfig
Returns the “default value” for a type. Read more
source§impl PartialEq for OwnedTLSConfig
impl PartialEq for OwnedTLSConfig
source§fn eq(&self, other: &OwnedTLSConfig) -> bool
fn eq(&self, other: &OwnedTLSConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for OwnedTLSConfig
Auto Trait Implementations§
impl Freeze for OwnedTLSConfig
impl RefUnwindSafe for OwnedTLSConfig
impl Send for OwnedTLSConfig
impl Sync for OwnedTLSConfig
impl Unpin for OwnedTLSConfig
impl UnwindSafe for OwnedTLSConfig
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