pub enum StmAggregateSignatureError<D: Digest + FixedOutput> {
IvkInvalid(Box<VerificationKey>),
SerializationError,
PathInvalid(BatchPath<D>),
BatchInvalid,
CoreVerificationError(CoreVerifierError),
}
Expand description
Errors which can be output by Mithril aggregate verification.
Variants§
IvkInvalid(Box<VerificationKey>)
The IVK is invalid after aggregating the keys
SerializationError
This error occurs when the the serialization of the raw bytes failed
PathInvalid(BatchPath<D>)
Invalid merkle batch path
BatchInvalid
Batch verification of STM aggregate signatures failed
CoreVerificationError(CoreVerifierError)
CoreVerifier
check failed
Trait Implementations§
source§impl<D: Clone + Digest + FixedOutput> Clone for StmAggregateSignatureError<D>
impl<D: Clone + Digest + FixedOutput> Clone for StmAggregateSignatureError<D>
source§fn clone(&self) -> StmAggregateSignatureError<D>
fn clone(&self) -> StmAggregateSignatureError<D>
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<D: Debug + Digest + FixedOutput> Debug for StmAggregateSignatureError<D>
impl<D: Debug + Digest + FixedOutput> Debug for StmAggregateSignatureError<D>
source§impl<D: Digest + FixedOutput> Display for StmAggregateSignatureError<D>
impl<D: Digest + FixedOutput> Display for StmAggregateSignatureError<D>
source§impl<D: Digest + FixedOutput> Error for StmAggregateSignatureError<D>
impl<D: Digest + FixedOutput> Error for StmAggregateSignatureError<D>
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()
source§impl<D: Digest + FixedOutput> From<CoreVerifierError> for StmAggregateSignatureError<D>
impl<D: Digest + FixedOutput> From<CoreVerifierError> for StmAggregateSignatureError<D>
source§fn from(e: CoreVerifierError) -> Self
fn from(e: CoreVerifierError) -> Self
Converts to this type from the input type.
source§impl<D: Digest + FixedOutput> From<StmSignatureError> for StmAggregateSignatureError<D>
impl<D: Digest + FixedOutput> From<StmSignatureError> for StmAggregateSignatureError<D>
source§fn from(e: StmSignatureError) -> Self
fn from(e: StmSignatureError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<D> Freeze for StmAggregateSignatureError<D>
impl<D> RefUnwindSafe for StmAggregateSignatureError<D>where
D: RefUnwindSafe,
impl<D> Send for StmAggregateSignatureError<D>where
D: Send,
impl<D> Sync for StmAggregateSignatureError<D>where
D: Sync,
impl<D> Unpin for StmAggregateSignatureError<D>where
D: Unpin,
impl<D> UnwindSafe for StmAggregateSignatureError<D>where
D: UnwindSafe,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)