pub enum StarsigError {
InvalidSignature,
InvalidBatch,
}Expand description
Represents an error in key aggregation, signing, or verification.
Variants§
InvalidSignature
This error occurs when a point is not a valid compressed Ristretto point
InvalidBatch
This error occurs when a set of signatures failed to verify as a batch
Trait Implementations§
Source§impl Clone for StarsigError
impl Clone for StarsigError
Source§fn clone(&self) -> StarsigError
fn clone(&self) -> StarsigError
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 StarsigError
impl Debug for StarsigError
Source§impl Display for StarsigError
impl Display for StarsigError
Source§impl Fail for StarsigError
impl Fail for StarsigError
Source§fn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
Source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace carried by this failure, if it
carries one. Read moreSource§impl PartialEq for StarsigError
impl PartialEq for StarsigError
impl Eq for StarsigError
impl StructuralPartialEq for StarsigError
Auto Trait Implementations§
impl Freeze for StarsigError
impl RefUnwindSafe for StarsigError
impl Send for StarsigError
impl Sync for StarsigError
impl Unpin for StarsigError
impl UnwindSafe for StarsigError
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