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.
reset_key: [u8; 64]
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]
fn clone(&self) -> PersistentState
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more