Struct quicr_core::ListenKeys [−][src]
Information that should be preserved between restarts for server endpoints.
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: [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.
Methods
impl ListenKeys
[src]
impl ListenKeys
pub fn new<R: Rng>(rng: &mut R) -> Self
[src]
pub fn new<R: Rng>(rng: &mut R) -> Self
Generate new keys.
Be careful to use a cryptography-grade RNG.
Trait Implementations
impl Copy for ListenKeys
[src]
impl Copy for ListenKeys
impl Clone for ListenKeys
[src]
impl Clone for ListenKeys
fn clone(&self) -> ListenKeys
[src]
fn clone(&self) -> ListenKeys
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for ListenKeys
impl Send for ListenKeys
impl Sync for ListenKeys
impl Sync for ListenKeys