#[repr(u8)]pub enum Assurance {
Unverified = 0,
Classical = 1,
PqHybrid = 2,
}Expand description
Mirrors the canonical hyprstream_rpc::auth::mac::Assurance discriminants.
It has no serialization contract. #1065 MUST use checked conversion and
byte-compatibility vectors against the canonical owner.
Variants§
Implementations§
Source§impl Assurance
impl Assurance
pub fn minimum_all(values: impl IntoIterator<Item = Self>) -> Self
Trait Implementations§
Source§impl Ord for Assurance
impl Ord for Assurance
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 PartialOrd for Assurance
impl PartialOrd for Assurance
impl Copy for Assurance
impl Eq for Assurance
impl StructuralPartialEq for Assurance
Auto Trait Implementations§
impl Freeze for Assurance
impl RefUnwindSafe for Assurance
impl Send for Assurance
impl Sync for Assurance
impl Unpin for Assurance
impl UnsafeUnpin for Assurance
impl UnwindSafe for Assurance
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