Enum s2n_quic_tls::enums::PeerKeyUpdate
source · #[non_exhaustive]pub enum PeerKeyUpdate {
KeyUpdateNotRequested,
KeyUpdatedRequested,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
source§impl Clone for PeerKeyUpdate
impl Clone for PeerKeyUpdate
source§fn clone(&self) -> PeerKeyUpdate
fn clone(&self) -> PeerKeyUpdate
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PeerKeyUpdate
impl Debug for PeerKeyUpdate
source§impl From<PeerKeyUpdate> for u32
impl From<PeerKeyUpdate> for u32
source§fn from(input: PeerKeyUpdate) -> u32
fn from(input: PeerKeyUpdate) -> u32
Converts to this type from the input type.
source§impl PartialEq for PeerKeyUpdate
impl PartialEq for PeerKeyUpdate
source§fn eq(&self, other: &PeerKeyUpdate) -> bool
fn eq(&self, other: &PeerKeyUpdate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PeerKeyUpdate
impl StructuralPartialEq for PeerKeyUpdate
Auto Trait Implementations§
impl Freeze for PeerKeyUpdate
impl RefUnwindSafe for PeerKeyUpdate
impl Send for PeerKeyUpdate
impl Sync for PeerKeyUpdate
impl Unpin for PeerKeyUpdate
impl UnwindSafe for PeerKeyUpdate
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