pub struct ProofSuiteId(/* private fields */);Expand description
Proof-suite identifier for signature or verification policy families.
Implementations§
Source§impl ProofSuiteId
impl ProofSuiteId
Sourcepub fn new(bytes: &[u8]) -> Result<Self, ValidationError>
pub fn new(bytes: &[u8]) -> Result<Self, ValidationError>
Creates a validated identifier from canonical bytes.
Trait Implementations§
Source§impl Debug for ProofSuiteId
impl Debug for ProofSuiteId
impl Eq for ProofSuiteId
Source§impl PartialEq for ProofSuiteId
impl PartialEq for ProofSuiteId
Source§fn eq(&self, other: &ProofSuiteId) -> bool
fn eq(&self, other: &ProofSuiteId) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProofSuiteId
Auto Trait Implementations§
impl Freeze for ProofSuiteId
impl RefUnwindSafe for ProofSuiteId
impl Send for ProofSuiteId
impl Sync for ProofSuiteId
impl Unpin for ProofSuiteId
impl UnsafeUnpin for ProofSuiteId
impl UnwindSafe for ProofSuiteId
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