Struct quicr_core::PersistentState [] [src]

pub struct PersistentState {
    pub cookie_key: [u8; 64],
    pub reset_key: [u8; 64],
}

Information that should be preserved between restarts.

Keeping this around allows better behavior by clients that communicated with a previous instance of the same endpoint.

Fields

Cryptographic key used to ensure integrity of data included in handshake cookies.

Initialize with random bytes.

Cryptographic key used to send authenticated connection resets to clients who were communicating with a previous instance of tihs endpoint.

Initialize with random bytes.

Trait Implementations

impl Copy for PersistentState
[src]

impl Clone for PersistentState
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Rand for PersistentState
[src]

[src]

Generates a random instance of this type using the specified source of randomness. Read more

Auto Trait Implementations