Struct quinn_noise::NoiseSession[][src]

pub struct NoiseSession { /* fields omitted */ }

Trait Implementations

Construct the default configuration

Start a client session with this configuration

Construct the default configuration

Start a server session with this configuration

Parameters determined when the handshake begins, e.g. server name and/or application protocol Read more

Cryptographic identity of the peer

Type used to hold configuration for client sessions

Type used to hold configuration for server sessions

Type used to sign various values

Key used to generate one-time-use handshake token keys

Type of keys used to protect packet headers

Type used to represent packet protection keys

Create the initial set of keys given the client’s initial destination ConnectionId

Compute keys for the next key update

Read bytes of handshake data Read more

Writes handshake bytes into the given buffer and optionally returns the negotiated keys Read more

Returns true until the connection is fully established.

Get the peer’s identity, if available

The peer’s QUIC transport parameters Read more

Get data negotiated during the handshake, if available Read more

Fill output with output.len() bytes of keying material derived from the Session’s secrets, using label and context for domain separation. Read more

Get the 0-RTT keys if available (clients only) Read more

If the 0-RTT-encrypted data has been accepted by the peer

Generate the integrity tag for a retry packet

Verify the integrity of a retry packet

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

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

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.