pub struct SslOptions { /* private fields */ }
Expand description

The options for SSL socket connections to the broker.

Implementations

Creates a new set of default SSL options

Set the name of the PEM file containing the public digital certificates trusted by the client.

Get the name of the PEM file containing the public certificate chain of the client.

The PEM file containing the client’s private key, if not included in the Key Store.

Gets the list of cipher suites that the client will present to the server during the SSL handshake.

Determine if the client will verify the server certificate.

Gets the directory containing CA certificates in PEM format, if set.

Determines if the default trust store should not be loaded.

Gets the list of ALPN protocols available to be negotiated. This is in the wire format of the data.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. 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 resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

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.