Struct s2n_quic_tls::connection::KeyUpdateCount
source · #[non_exhaustive]pub struct KeyUpdateCount {
pub send_key_updates: u8,
pub recv_key_updates: u8,
}
Expand description
s2n-tls only tracks up to u8::MAX (255) key updates. If any of the fields show 255 updates, then more than 255 updates may have occurred.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.send_key_updates: u8
§recv_key_updates: u8
Trait Implementations§
source§impl Debug for KeyUpdateCount
impl Debug for KeyUpdateCount
source§impl PartialEq for KeyUpdateCount
impl PartialEq for KeyUpdateCount
source§fn eq(&self, other: &KeyUpdateCount) -> bool
fn eq(&self, other: &KeyUpdateCount) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for KeyUpdateCount
Auto Trait Implementations§
impl Freeze for KeyUpdateCount
impl RefUnwindSafe for KeyUpdateCount
impl Send for KeyUpdateCount
impl Sync for KeyUpdateCount
impl Unpin for KeyUpdateCount
impl UnwindSafe for KeyUpdateCount
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