pub enum InvalidPublicKey {
Multibase(Error),
Multicodec(Error),
}
Variants§
Trait Implementations§
Source§impl Clone for InvalidPublicKey
impl Clone for InvalidPublicKey
Source§fn clone(&self) -> InvalidPublicKey
fn clone(&self) -> InvalidPublicKey
Returns a duplicate 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 InvalidPublicKey
impl Debug for InvalidPublicKey
Source§impl Display for InvalidPublicKey
impl Display for InvalidPublicKey
Source§impl Error for InvalidPublicKey
impl Error for InvalidPublicKey
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<Error> for InvalidPublicKey
impl From<Error> for InvalidPublicKey
Source§impl From<Error> for InvalidPublicKey
impl From<Error> for InvalidPublicKey
Source§impl From<InvalidPublicKey> for MessageSignatureError
impl From<InvalidPublicKey> for MessageSignatureError
Source§fn from(_value: InvalidPublicKey) -> Self
fn from(_value: InvalidPublicKey) -> Self
Converts to this type from the input type.
Source§impl From<InvalidPublicKey> for ProofValidationError
impl From<InvalidPublicKey> for ProofValidationError
Source§fn from(_value: InvalidPublicKey) -> Self
fn from(_value: InvalidPublicKey) -> Self
Converts to this type from the input type.
Source§impl From<InvalidPublicKey> for SignatureError
impl From<InvalidPublicKey> for SignatureError
Source§fn from(_value: InvalidPublicKey) -> Self
fn from(_value: InvalidPublicKey) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InvalidPublicKey
impl RefUnwindSafe for InvalidPublicKey
impl Send for InvalidPublicKey
impl Sync for InvalidPublicKey
impl Unpin for InvalidPublicKey
impl UnwindSafe for InvalidPublicKey
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> BorrowUnordered for T
impl<T> BorrowUnordered for T
fn as_unordered(&self) -> &Unordered<T>
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
Source§impl<T> ResourceProvider<()> for T
impl<T> ResourceProvider<()> for T
Source§fn get_resource(&self) -> &()
fn get_resource(&self) -> &()
Returns a reference to the resource of type
T
.