Struct amq_protocol_tcp::TLSConfig
source · [−]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
sourceimpl<'der, 'pass, 'chain> PartialEq<TLSConfig<'der, 'pass, 'chain>> for TLSConfig<'der, 'pass, 'chain>
impl<'der, 'pass, 'chain> PartialEq<TLSConfig<'der, 'pass, 'chain>> for TLSConfig<'der, 'pass, 'chain>
impl<'der, 'pass, 'chain> StructuralPartialEq for TLSConfig<'der, 'pass, 'chain>
Auto Trait Implementations
impl<'der, 'pass, 'chain> RefUnwindSafe for TLSConfig<'der, 'pass, 'chain>
impl<'der, 'pass, 'chain> Send for TLSConfig<'der, 'pass, 'chain>
impl<'der, 'pass, 'chain> Sync for TLSConfig<'der, 'pass, 'chain>
impl<'der, 'pass, 'chain> Unpin for TLSConfig<'der, 'pass, 'chain>
impl<'der, 'pass, 'chain> UnwindSafe for TLSConfig<'der, 'pass, 'chain>
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more