Struct s2n_quic_tls::client::Client

source ·
pub struct Client<L: ConfigLoader = Config> { /* private fields */ }

Implementations§

Creates a Client from a ConfigLoader

The caller is responsible for building the Config correctly for QUIC settings. This includes:

  • setting a security policy that supports TLS 1.3
  • enabling QUIC support
  • setting at least one application protocol

Trait Implementations§

Returns the “default value” for a type. Read more
The maximum length of a tag for any algorithm that may be negotiated

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.