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 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 Debug for CheckAccountSignatureError
impl Debug for CheckAccountSignatureError
source§impl PartialEq for CheckAccountSignatureError
impl PartialEq for CheckAccountSignatureError
source§fn eq(&self, other: &CheckAccountSignatureError) -> bool
fn eq(&self, other: &CheckAccountSignatureError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CheckAccountSignatureError
impl Eq for CheckAccountSignatureError
impl StructuralPartialEq for CheckAccountSignatureError
Auto Trait Implementations§
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