pub enum AggregateSignatureError {
SerializationError,
BatchInvalid,
MissingSnarkAggregateVerificationKey,
MissingSnarkClerk,
UnsupportedProofSystem(AggregateSignatureType),
UnknownProofSystem(String),
}Expand description
Errors which can be output by Mithril aggregate verification.
Variants§
SerializationError
This error occurs when the serialization of the raw bytes failed
BatchInvalid
Batch verification of STM aggregate signatures failed
MissingSnarkAggregateVerificationKey
Missing SNARK aggregate verification key
MissingSnarkClerk
Missing SNARK clerk for aggregate signature verification
UnsupportedProofSystem(AggregateSignatureType)
The proof system used in the aggregate signature is not supported
UnknownProofSystem(String)
The proof system is unknown
Trait Implementations§
Source§impl Clone for AggregateSignatureError
impl Clone for AggregateSignatureError
Source§fn clone(&self) -> AggregateSignatureError
fn clone(&self) -> AggregateSignatureError
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 AggregateSignatureError
impl Debug for AggregateSignatureError
Source§impl Display for AggregateSignatureError
impl Display for AggregateSignatureError
Source§impl Error for AggregateSignatureError
impl Error for AggregateSignatureError
1.30.0 · 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()
Auto Trait Implementations§
impl Freeze for AggregateSignatureError
impl RefUnwindSafe for AggregateSignatureError
impl Send for AggregateSignatureError
impl Sync for AggregateSignatureError
impl Unpin for AggregateSignatureError
impl UnsafeUnpin for AggregateSignatureError
impl UnwindSafe for AggregateSignatureError
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