Trait tor_rtcompat::CertifiedConn
source · pub trait CertifiedConn {
// Required method
fn peer_certificate(&self) -> IoResult<Option<Vec<u8>>>;
}Expand description
An object with a peer certificate: typically a TLS connection.
Required Methods§
Implementations on Foreign Types§
source§impl<S> CertifiedConn for TlsStream<S>where
S: AsyncRead + AsyncWrite + Unpin,
Available on (crate features native-tls or rustls) and (crate features async-std or tokio) and crate feature native-tls only.
impl<S> CertifiedConn for TlsStream<S>where
S: AsyncRead + AsyncWrite + Unpin,
Available on (crate features
native-tls or rustls) and (crate features async-std or tokio) and crate feature native-tls only.source§impl<S> CertifiedConn for TlsStream<S>
Available on (crate features native-tls or rustls) and (crate features async-std or tokio) and crate feature rustls only.
impl<S> CertifiedConn for TlsStream<S>
Available on (crate features
native-tls or rustls) and (crate features async-std or tokio) and crate feature rustls only.