pub struct NoSigningKey;Expand description
A zero-sized type representing a signing key that produces no signatures.
This type is used when no actual signing is needed, but the type system
requires a signing key type. It implements Signer<NoSignature> and always
returns NoSignature when signing.
Trait Implementations§
Source§impl Signer<NoSignature> for NoSigningKey
impl Signer<NoSignature> for NoSigningKey
Auto Trait Implementations§
impl Freeze for NoSigningKey
impl RefUnwindSafe for NoSigningKey
impl Send for NoSigningKey
impl Sync for NoSigningKey
impl Unpin for NoSigningKey
impl UnwindSafe for NoSigningKey
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