[][src]Struct amq_protocol_tcp::OwnedTLSConfig

pub struct OwnedTLSConfig {
    pub identity: Option<OwnedIdentity>,
    pub cert_chain: Option<String>,
}

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

impl OwnedTLSConfig[src]

Re-export TcpStream

pub fn as_ref(&self) -> TLSConfig<'_, '_, '_>[src]

Get the ephemeral TLSConfig corresponding to the OwnedTLSConfig

Trait Implementations

impl Debug for OwnedTLSConfig[src]

impl Default for OwnedTLSConfig[src]

impl PartialEq<OwnedTLSConfig> for OwnedTLSConfig[src]

impl StructuralPartialEq for OwnedTLSConfig[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.