pub enum SignatureTier {
None,
Ed25519,
Hybrid,
}Expand description
Signature strength tier advertised by a WAL header, ordered
None < Ed25519 < Hybrid. Compared against TrustAnchor::min_tier
to reject a downgrade.
Variants§
None
No signatures (chain integrity only).
Ed25519
RFC 8032 Ed25519.
Hybrid
Hybrid Ed25519 + ML-DSA 65.
Trait Implementations§
Source§impl Clone for SignatureTier
impl Clone for SignatureTier
Source§fn clone(&self) -> SignatureTier
fn clone(&self) -> SignatureTier
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 Debug for SignatureTier
impl Debug for SignatureTier
Source§impl Ord for SignatureTier
impl Ord for SignatureTier
Source§fn cmp(&self, other: &SignatureTier) -> Ordering
fn cmp(&self, other: &SignatureTier) -> 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 SignatureTier
impl PartialEq for SignatureTier
Source§fn eq(&self, other: &SignatureTier) -> bool
fn eq(&self, other: &SignatureTier) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SignatureTier
impl PartialOrd for SignatureTier
impl Copy for SignatureTier
impl Eq for SignatureTier
impl StructuralPartialEq for SignatureTier
Auto Trait Implementations§
impl Freeze for SignatureTier
impl RefUnwindSafe for SignatureTier
impl Send for SignatureTier
impl Sync for SignatureTier
impl Unpin for SignatureTier
impl UnsafeUnpin for SignatureTier
impl UnwindSafe for SignatureTier
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