Enum flow_sdk::algorithms::secp256k1::Error [−][src]
pub enum Error {
IncorrectSignature,
InvalidMessage,
InvalidPublicKey,
InvalidSignature,
InvalidSecretKey,
InvalidRecoveryId,
InvalidTweak,
TweakCheckFailed,
NotEnoughMemory,
}
Expand description
An ECDSA error
Variants
Signature failed verification
Badly sized message (“messages” are actually fixed-sized digests; see the MESSAGE_SIZE
constant)
Bad public key
Bad signature
Bad secret key
Bad recovery id
Invalid tweak for add_assign or mul_assign
tweak_add_check
failed on an xonly public key
Didn’t pass enough memory to context creation with preallocated memory
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Error
impl UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Wrap the input message T
in a tonic::Request
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more