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

A cipher suite supported by rustls.

Implementations

Return a 16-bit unsigned integer corresponding to this cipher suite’s assignment from https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#tls-parameters-4. The bytes from the assignment are interpreted in network order.

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.