#[repr(u16)]pub enum SignatureVersion {
Latest = 0,
V1 = 1,
}
Expand description
The versions of the secret sharing scheme to use.
Variants§
Trait Implementations§
source§impl Clone for SignatureVersion
impl Clone for SignatureVersion
source§fn clone(&self) -> SignatureVersion
fn clone(&self) -> SignatureVersion
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 SignatureVersion
impl Debug for SignatureVersion
source§impl Default for SignatureVersion
impl Default for SignatureVersion
source§impl From<SignatureVersion> for u16
impl From<SignatureVersion> for u16
source§fn from(enum_value: SignatureVersion) -> Self
fn from(enum_value: SignatureVersion) -> Self
Converts to this type from the input type.
source§impl PartialEq for SignatureVersion
impl PartialEq for SignatureVersion
source§fn eq(&self, other: &SignatureVersion) -> bool
fn eq(&self, other: &SignatureVersion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u16> for SignatureVersion
impl TryFrom<u16> for SignatureVersion
§type Error = TryFromPrimitiveError<SignatureVersion>
type Error = TryFromPrimitiveError<SignatureVersion>
The type returned in the event of a conversion error.
source§impl TryFromPrimitive for SignatureVersion
impl TryFromPrimitive for SignatureVersion
source§impl Zeroize for SignatureVersion
impl Zeroize for SignatureVersion
impl Copy for SignatureVersion
impl Eq for SignatureVersion
impl StructuralEq for SignatureVersion
impl StructuralPartialEq for SignatureVersion
Auto Trait Implementations§
impl RefUnwindSafe for SignatureVersion
impl Send for SignatureVersion
impl Sync for SignatureVersion
impl Unpin for SignatureVersion
impl UnwindSafe for SignatureVersion
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