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
sourceimpl OwnedTLSConfig
impl OwnedTLSConfig
Trait Implementations
sourceimpl Debug for OwnedTLSConfig
impl Debug for OwnedTLSConfig
sourceimpl Default for OwnedTLSConfig
impl Default for OwnedTLSConfig
sourcefn default() -> OwnedTLSConfig
fn default() -> OwnedTLSConfig
Returns the “default value” for a type. Read more
sourceimpl PartialEq<OwnedTLSConfig> for OwnedTLSConfig
impl PartialEq<OwnedTLSConfig> for OwnedTLSConfig
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &OwnedTLSConfig) -> bool
fn ne(&self, other: &OwnedTLSConfig) -> bool
This method tests for !=
.
impl StructuralPartialEq for OwnedTLSConfig
Auto Trait Implementations
impl RefUnwindSafe for OwnedTLSConfig
impl Send for OwnedTLSConfig
impl Sync for OwnedTLSConfig
impl Unpin for OwnedTLSConfig
impl UnwindSafe for OwnedTLSConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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