pub struct HandshakeContext<'ctx> { /* private fields */ }

Implementations

If this is never called, will use the set of private keys and certificates configured in the Config associated with this Context. If this is called at least once, all those are ignored and the set specified using this function is used.

Methods from Deref<Target = Context<'ctx>>

Trait Implementations

The resulting type after dereferencing.
Dereferences the value.

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.