Struct s2n_quic_crypto::initial::InitialHeaderKey
source · pub struct InitialHeaderKey(/* private fields */);
Trait Implementations§
source§impl Debug for InitialHeaderKey
impl Debug for InitialHeaderKey
source§impl HeaderKey for InitialHeaderKey
impl HeaderKey for InitialHeaderKey
source§fn opening_header_protection_mask(&self, sample: &[u8]) -> HeaderProtectionMask
fn opening_header_protection_mask(&self, sample: &[u8]) -> HeaderProtectionMask
Derives a header protection mask from a sample buffer, to be
used for opening a packet. Read more
source§fn opening_sample_len(&self) -> usize
fn opening_sample_len(&self) -> usize
Returns the sample size needed for the header protection
buffer
source§fn sealing_header_protection_mask(&self, sample: &[u8]) -> HeaderProtectionMask
fn sealing_header_protection_mask(&self, sample: &[u8]) -> HeaderProtectionMask
Derives a header protection mask from a sample buffer, to be
used for sealing a packet. Read more
source§fn sealing_sample_len(&self) -> usize
fn sealing_sample_len(&self) -> usize
Returns the sample size needed for the header protection
buffer
impl InitialHeaderKey for InitialHeaderKey
Auto Trait Implementations§
impl Freeze for InitialHeaderKey
impl RefUnwindSafe for InitialHeaderKey
impl Send for InitialHeaderKey
impl Sync for InitialHeaderKey
impl Unpin for InitialHeaderKey
impl UnwindSafe for InitialHeaderKey
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more