Enum sn_messaging::node::Error [−][src]
pub enum Error { 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.
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
pub fn as_fail(&self) -> &(dyn Fail + 'static)
pub fn as_fail(&self) -> &(dyn Fail + 'static)
Converts a reference to Self
into a dynamic trait object of Fail
.
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V