pub enum CheckAccountSignatureError {
MissingAccount,
MalformedData,
}
Expand description
Error for checking an account signature.
Variants§
MissingAccount
The account does not exist in the state.
MalformedData
The signature data could not be parsed, i.e.,
we could not deserialize the signature map and the data to check the
signature against. This should typically not happen since the
concordium-std
library prevents calls that could trigger it, but
is here for completeness since it is a possible error returned from
the node.
Trait Implementations§
Source§impl Clone for CheckAccountSignatureError
impl Clone for CheckAccountSignatureError
Source§fn clone(&self) -> CheckAccountSignatureError
fn clone(&self) -> CheckAccountSignatureError
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 CheckAccountSignatureError
impl Debug for CheckAccountSignatureError
impl Copy for CheckAccountSignatureError
impl Eq for CheckAccountSignatureError
impl StructuralPartialEq for CheckAccountSignatureError
Auto Trait Implementations§
impl Freeze for CheckAccountSignatureError
impl RefUnwindSafe for CheckAccountSignatureError
impl Send for CheckAccountSignatureError
impl Sync for CheckAccountSignatureError
impl Unpin for CheckAccountSignatureError
impl UnwindSafe for CheckAccountSignatureError
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