Struct amq_protocol_tcp::TLSConfig [−][src]
pub struct TLSConfig<'der, 'pass, 'chain> {
pub identity: Option<Identity<'der, 'pass>>,
pub cert_chain: Option<&'chain str>,
}
Expand description
Re-export TcpStream Holds extra TLS configuration
Fields
identity: Option<Identity<'der, 'pass>>
Use for client certificate authentication
cert_chain: Option<&'chain str>
The custom certificates chain in PEM format
Trait Implementations
Auto Trait Implementations
impl<'der, 'pass, 'chain> RefUnwindSafe for TLSConfig<'der, 'pass, 'chain>
impl<'der, 'pass, 'chain> UnwindSafe for TLSConfig<'der, 'pass, 'chain>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more