pub enum DilithiumSignature {
Dilithium2(Box<DetachedSignature>),
Dilithium3(Box<DetachedSignature>),
Dilithium5(Box<DetachedSignature>),
}Variants§
Dilithium2(Box<DetachedSignature>)
Dilithium3(Box<DetachedSignature>)
Dilithium5(Box<DetachedSignature>)
Implementations§
Trait Implementations§
Source§impl CBORTagged for DilithiumSignature
impl CBORTagged for DilithiumSignature
The CBOR tags assocated with this type. If more than one tag is present,
they are considered equivalent for reading, but only the first one is
used for writing.
Source§impl CBORTaggedDecodable for DilithiumSignature
impl CBORTaggedDecodable for DilithiumSignature
Source§fn from_untagged_cbor(untagged_cbor: CBOR) -> Result<Self>
fn from_untagged_cbor(untagged_cbor: CBOR) -> Result<Self>
Creates an instance of this type by decoding it from untagged CBOR.
Source§fn from_tagged_cbor(cbor: CBOR) -> Result<Self, Error>where
Self: Sized,
fn from_tagged_cbor(cbor: CBOR) -> Result<Self, Error>where
Self: Sized,
Creates an instance of this type by decoding it from tagged CBOR.
Source§impl CBORTaggedEncodable for DilithiumSignature
impl CBORTaggedEncodable for DilithiumSignature
Source§fn untagged_cbor(&self) -> CBOR
fn untagged_cbor(&self) -> CBOR
Returns the untagged CBOR encoding of this instance.
Source§fn tagged_cbor(&self) -> CBOR
fn tagged_cbor(&self) -> CBOR
Returns the tagged CBOR encoding of this instance.
Source§impl Clone for DilithiumSignature
impl Clone for DilithiumSignature
Source§fn clone(&self) -> DilithiumSignature
fn clone(&self) -> DilithiumSignature
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 DilithiumSignature
impl Debug for DilithiumSignature
Source§impl From<DilithiumSignature> for CBOR
impl From<DilithiumSignature> for CBOR
Source§fn from(value: DilithiumSignature) -> Self
fn from(value: DilithiumSignature) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DilithiumSignature
impl PartialEq for DilithiumSignature
Auto Trait Implementations§
impl Freeze for DilithiumSignature
impl RefUnwindSafe for DilithiumSignature
impl Send for DilithiumSignature
impl Sync for DilithiumSignature
impl Unpin for DilithiumSignature
impl UnwindSafe for DilithiumSignature
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