pub struct NoSignature;
Expand description
A zero-sized type representing an empty signature.
This type is used when no actual signature is needed, but the type system
requires a signature type. It implements SignatureEncoding
with an empty
byte array representation.
Trait Implementations§
Source§impl Clone for NoSignature
impl Clone for NoSignature
Source§fn clone(&self) -> NoSignature
fn clone(&self) -> NoSignature
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 SignatureEncoding for NoSignature
impl SignatureEncoding for NoSignature
Source§impl Signer<NoSignature> for NoSigningKey
impl Signer<NoSignature> for NoSigningKey
Source§impl<'a> TryFrom<&'a [u8]> for NoSignature
impl<'a> TryFrom<&'a [u8]> for NoSignature
Source§impl Verifier<NoSignature> for NoVerifyingKey
impl Verifier<NoSignature> for NoVerifyingKey
Auto Trait Implementations§
impl Freeze for NoSignature
impl RefUnwindSafe for NoSignature
impl Send for NoSignature
impl Sync for NoSignature
impl Unpin for NoSignature
impl UnwindSafe for NoSignature
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