Enum safe_network::messaging::signature_aggregator::Error
source · [−]pub enum Error {
NotEnoughShares,
InvalidShare,
Combine(Error),
}
Expand description
Error returned from SignatureAggregator::add.
Variants
NotEnoughShares
There are not enough signature shares yet, more need to be added. This is not a failure.
InvalidShare
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.
Combine(Error)
The signature combination failed even though there are enough valid signature shares. This should probably never happen.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Error
impl UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more