Struct amq_protocol_tcp::OwnedTLSConfig
source · pub struct OwnedTLSConfig {
pub identity: Option<OwnedIdentity>,
pub cert_chain: Option<String>,
}
Expand description
Re-export TcpStream 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<OwnedTLSConfig> for OwnedTLSConfig
impl PartialEq<OwnedTLSConfig> 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 RefUnwindSafe for OwnedTLSConfig
impl Send for OwnedTLSConfig
impl Sync for OwnedTLSConfig
impl Unpin for OwnedTLSConfig
impl UnwindSafe for OwnedTLSConfig
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