[−][src]Enum bls_signature_aggregator::signature_aggregator::AccumulationError
Error returned from SignatureAccumulator::add.
Variants
There are not enough signature shares yet, more need to be added. This is not a failure.
Enough signature share were already collected before and adding more has no effect. This is not a failure.
The signature share being added is invalid. Such share is rejected but the already collected shares are kept intact. If enough new valid shares are collected afterwards, the accumulation might still succeed.
Serialise(Error)
The payload failed to be serialised and can't be inserted into the accumulator. This doesn't affect other entries already present and the accumulator can still be used normally afterwards. In practice, this error should never happen unless the host machine runs out of memory or a similar catastrophic failure.
Combine(Error)
The signature combination failed even though there are enough valid signature shares. This should probably never happen.
Trait Implementations
impl Debug for AccumulationError
[src]
impl Display for AccumulationError
[src]
impl Error for AccumulationError
[src]
fn description(&self) -> &str
[src]
fn cause(&self) -> Option<&dyn Error>
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
impl From<Box<ErrorKind>> for AccumulationError
[src]
impl From<Error> for AccumulationError
[src]
Auto Trait Implementations
impl !RefUnwindSafe for AccumulationError
impl Send for AccumulationError
impl Sync for AccumulationError
impl Unpin for AccumulationError
impl !UnwindSafe for AccumulationError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AsFail for T where
T: Fail,
T: Fail,
fn as_fail(&self) -> &(dyn Fail + 'static)
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<E> Fail for E where
E: 'static + Error + Send + Sync,
E: 'static + Error + Send + Sync,
fn name(&self) -> Option<&str>
fn cause(&self) -> Option<&(dyn Fail + 'static)>
fn backtrace(&self) -> Option<&Backtrace>
fn context<D>(self, context: D) -> Context<D> where
D: Display + Send + Sync + 'static,
D: Display + Send + Sync + 'static,
fn compat(self) -> Compat<Self>
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,