pub enum StateSignatureError {
UnsupportedAlgorithm(String),
InvalidPublicKey(String),
InvalidSignature(String),
Hex(FromHexError),
Signer(SignerError),
}Expand description
Error type for state signature operations.
Variants§
UnsupportedAlgorithm(String)
InvalidPublicKey(String)
InvalidSignature(String)
Hex(FromHexError)
Signer(SignerError)
Trait Implementations§
Source§impl Debug for StateSignatureError
impl Debug for StateSignatureError
Source§impl Display for StateSignatureError
impl Display for StateSignatureError
Source§impl Error for StateSignatureError
impl Error for StateSignatureError
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<FromHexError> for StateSignatureError
impl From<FromHexError> for StateSignatureError
Source§fn from(source: FromHexError) -> Self
fn from(source: FromHexError) -> Self
Converts to this type from the input type.
Source§impl From<SignerError> for StateSignatureError
impl From<SignerError> for StateSignatureError
Source§fn from(source: SignerError) -> Self
fn from(source: SignerError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for StateSignatureError
impl !UnwindSafe for StateSignatureError
impl Freeze for StateSignatureError
impl Send for StateSignatureError
impl Sync for StateSignatureError
impl Unpin for StateSignatureError
impl UnsafeUnpin for StateSignatureError
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