pub struct NoVerifyingKey(/* private fields */);
Expand description
A verifying key that always succeeds verification.
This type is used when no actual verification is needed, but the type system
requires a verifying key type. It’s typically used when secure transport is
already in place and message authenticity doesn’t need to be verified.
The inner Vec<u8>
is used as an identity ID.
Implementations§
Trait Implementations§
Source§impl AsRef<[u8]> for NoVerifyingKey
impl AsRef<[u8]> for NoVerifyingKey
Source§impl Clone for NoVerifyingKey
impl Clone for NoVerifyingKey
Source§fn clone(&self) -> NoVerifyingKey
fn clone(&self) -> NoVerifyingKey
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 Verifier<NoSignature> for NoVerifyingKey
impl Verifier<NoSignature> for NoVerifyingKey
Auto Trait Implementations§
impl Freeze for NoVerifyingKey
impl RefUnwindSafe for NoVerifyingKey
impl Send for NoVerifyingKey
impl Sync for NoVerifyingKey
impl Unpin for NoVerifyingKey
impl UnwindSafe for NoVerifyingKey
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> ToHex for T
impl<T> ToHex for T
Source§fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self
into the result. Lower case
letters are used (e.g. f9b4ca
)Source§fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self
into the result. Upper case
letters are used (e.g. F9B4CA
)