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§
source§impl<'der, 'pass, 'chain> PartialEq for TLSConfig<'der, 'pass, 'chain>
impl<'der, 'pass, 'chain> PartialEq for TLSConfig<'der, 'pass, 'chain>
impl<'der, 'pass, 'chain> StructuralPartialEq for TLSConfig<'der, 'pass, 'chain>
Auto Trait Implementations§
impl<'der, 'pass, 'chain> Freeze for TLSConfig<'der, 'pass, 'chain>
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§
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