Struct s2n_quic_tls::server::Server

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

Implementations§

Creates a Server 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
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.