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>where
Self: Debug + Display,
impl<D: Digest + FixedOutput> Error for StmAggregateSignatureError<D>where Self: Debug + Display,
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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> 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> CheckedAs for T
impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where T: CheckedCast<Dst>,
Casts the value.
source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.
source§impl<T> OverflowingAs for T
impl<T> OverflowingAs for T
source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
fn overflowing_as<Dst>(self) -> (Dst, bool)where T: OverflowingCast<Dst>,
Casts the value.
source§impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere Src: OverflowingCast<Dst>,
source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.
source§impl<T> SaturatingAs for T
impl<T> SaturatingAs for T
source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
fn saturating_as<Dst>(self) -> Dstwhere T: SaturatingCast<Dst>,
Casts the value.
source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere Src: SaturatingCast<Dst>,
source§fn saturating_cast_from(src: Src) -> Dst
fn saturating_cast_from(src: Src) -> Dst
Casts the value.
source§impl<T> UnwrappedAs for T
impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
fn unwrapped_as<Dst>(self) -> Dstwhere T: UnwrappedCast<Dst>,
Casts the value.
source§impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere Src: UnwrappedCast<Dst>,
source§fn unwrapped_cast_from(src: Src) -> Dst
fn unwrapped_cast_from(src: Src) -> Dst
Casts the value.
source§impl<T> WrappingAs for T
impl<T> WrappingAs for T
source§fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
fn wrapping_as<Dst>(self) -> Dstwhere T: WrappingCast<Dst>,
Casts the value.
source§impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere Src: WrappingCast<Dst>,
source§fn wrapping_cast_from(src: Src) -> Dst
fn wrapping_cast_from(src: Src) -> Dst
Casts the value.