Struct tls_api_native_tls::TlsConnector [−][src]
pub struct TlsConnector(pub TlsConnector);
Trait Implementations
impl TlsConnector for TlsConnector
[src]
impl TlsConnector for TlsConnector
type Builder = TlsConnectorBuilder
fn builder() -> Result<TlsConnectorBuilder>
[src]
fn builder() -> Result<TlsConnectorBuilder>
fn connect<S>(
&self,
domain: &str,
stream: S
) -> Result<TlsStream<S>, HandshakeError<S>> where
S: Read + Write + Debug + Send + Sync + 'static,
[src]
fn connect<S>(
&self,
domain: &str,
stream: S
) -> Result<TlsStream<S>, HandshakeError<S>> where
S: Read + Write + Debug + Send + Sync + 'static,
fn danger_connect_without_providing_domain_for_certificate_verification_and_server_name_indication<S>(
&self,
stream: S
) -> Result<TlsStream<S>, HandshakeError<S>> where
S: Read + Write + Debug + Send + Sync + 'static,
[src]
fn danger_connect_without_providing_domain_for_certificate_verification_and_server_name_indication<S>(
&self,
stream: S
) -> Result<TlsStream<S>, HandshakeError<S>> where
S: Read + Write + Debug + Send + Sync + 'static,
fn supports_alpn() -> bool
[src]
fn supports_alpn() -> bool
Auto Trait Implementations
impl Send for TlsConnector
impl Send for TlsConnector
impl Sync for TlsConnector
impl Sync for TlsConnector