pub struct TlsConnector {
    pub config: Arc<ClientConfig>,
}

Fields

config: Arc<ClientConfig>

Implementations

Trait Implementations

Type of the builder for this connector.

Type of the underlying connector.

crate::TlsStream<tls_api::AsyncSocketBox>. Read more

Get the underlying builder. Read more

Is it implemented? When false all operations return an error. Read more

Whether this implementation supports ALPN negotiation.

Implementation info.

New builder for the acceptor.

Connect. Read more

Connect. Read more

Dynamic (without type parameter) version of the connector. Read more

Dynamic (without type parameter) version of the connector.

Connect using default settings. Read more

Connect. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.