pub struct Tls13ClientSessionValue {
    pub common: ClientSessionCommon,
    /* private fields */
}

Fields§

§common: ClientSessionCommon

Implementations§

Codec::read() with an extra suite argument.

We decode the suite argument separately because it allows us to decide whether we’re decoding an 1.2 or 1.3 session value.

Inherent implementation of the Codec::get_encoding() method.

(See read() for why this is inherent here.)

Methods from Deref<Target = ClientSessionCommon>§

Trait Implementations§

Formats the value using the given formatter. Read more
The resulting type after dereferencing.
Dereferences the value.
Converts to this type from the input type.

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.