[][src]Enum bls_like::pop::PoPError

pub enum PoPError {
    BadPoP(&'static str),
    MismatchedMessage,
    RepeatedSigners,
}

Error type for bitfield-style proof-of-possession aggreggation

These do not necessarily represent attacks pr se. We therefore permit users to recover from them, although actual recovery sounds impossible nomrally.

Variants

BadPoP(&'static str)

Attempted to use missmatched proof-of-possession tables.

MismatchedMessage

Attempted to aggregate distint messages, which requires the the more general BatchAssumingProofsOfPossession type instead.

RepeatedSigners

Aggregation is impossible due to signers being repeated or repeated too many times in both sets or multi-sets, respectively.

Trait Implementations

impl Debug for PoPError[src]

impl Display for PoPError[src]

impl Error for PoPError[src]

fn source(&self) -> Option<&(dyn Error + 'static)>1.30.0[src]

The lower-level source of this error, if any. Read more

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self