Enum cosmwasm_std::RecoverPubkeyError
source · [−]pub enum RecoverPubkeyError {
InvalidHashFormat,
InvalidSignatureFormat,
InvalidRecoveryParam,
UnknownErr {
error_code: u32,
},
}
Variants
InvalidHashFormat
InvalidSignatureFormat
InvalidRecoveryParam
UnknownErr
Fields
error_code: u32
Implementations
sourceimpl RecoverPubkeyError
impl RecoverPubkeyError
pub fn unknown_err(error_code: u32) -> Self
Trait Implementations
sourceimpl Debug for RecoverPubkeyError
impl Debug for RecoverPubkeyError
sourceimpl Display for RecoverPubkeyError
impl Display for RecoverPubkeyError
sourceimpl Error for RecoverPubkeyError
impl Error for RecoverPubkeyError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<CryptoError> for RecoverPubkeyError
impl From<CryptoError> for RecoverPubkeyError
sourcefn from(original: CryptoError) -> Self
fn from(original: CryptoError) -> Self
Converts to this type from the input type.
sourceimpl From<RecoverPubkeyError> for StdError
impl From<RecoverPubkeyError> for StdError
sourcefn from(source: RecoverPubkeyError) -> Self
fn from(source: RecoverPubkeyError) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<RecoverPubkeyError> for RecoverPubkeyError
impl PartialEq<RecoverPubkeyError> for RecoverPubkeyError
sourcefn eq(&self, rhs: &RecoverPubkeyError) -> bool
fn eq(&self, rhs: &RecoverPubkeyError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
Auto Trait Implementations
impl RefUnwindSafe for RecoverPubkeyError
impl Send for RecoverPubkeyError
impl Sync for RecoverPubkeyError
impl Unpin for RecoverPubkeyError
impl UnwindSafe for RecoverPubkeyError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more