#[repr(u8)]pub enum KeyUpdateRequest {
UpdateNotRequested = 0,
UpdateRequested = 1,
}Expand description
A Key Update Request following Section 4.6.3.
Unknown values MUST be treated as illegal_parameter errors. Therefore, this is implemented as an enum.
Variants§
Trait Implementations§
Source§impl Clone for KeyUpdateRequest
impl Clone for KeyUpdateRequest
Source§fn clone(&self) -> KeyUpdateRequest
fn clone(&self) -> KeyUpdateRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Codec for KeyUpdateRequest
impl Codec for KeyUpdateRequest
impl Copy for KeyUpdateRequest
Source§impl Debug for KeyUpdateRequest
impl Debug for KeyUpdateRequest
impl Eq for KeyUpdateRequest
Source§impl Hash for KeyUpdateRequest
impl Hash for KeyUpdateRequest
Source§impl Ord for KeyUpdateRequest
impl Ord for KeyUpdateRequest
Source§fn cmp(&self, other: &KeyUpdateRequest) -> Ordering
fn cmp(&self, other: &KeyUpdateRequest) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for KeyUpdateRequest
impl PartialEq for KeyUpdateRequest
Source§impl PartialOrd for KeyUpdateRequest
impl PartialOrd for KeyUpdateRequest
impl StructuralPartialEq for KeyUpdateRequest
Auto Trait Implementations§
impl Freeze for KeyUpdateRequest
impl RefUnwindSafe for KeyUpdateRequest
impl Send for KeyUpdateRequest
impl Sync for KeyUpdateRequest
impl Unpin for KeyUpdateRequest
impl UnsafeUnpin for KeyUpdateRequest
impl UnwindSafe for KeyUpdateRequest
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