Enum safe_network::routing::AggregatorError [−][src]
pub enum AggregatorError { NotEnoughShares, InvalidShare, Combine(Error), }
Expand description
Error returned from SignatureAggregator::add.
Variants
There are not enough signature shares yet, more need to be added. 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 aggregation might still succeed.
The signature combination failed even though there are enough valid signature shares. This should probably never happen.
Tuple Fields of Combine
0: Error
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Error
impl UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self