Enum brb::error::Error[][src]

pub enum Error<A: Actor<S> + 'static, S: Sig + 'static, V: Debug + Error + 'static> {
    Membership(Error<A, S>),
    Encoding(Error),
    Validation(ValidationError<A, S, V>),
    Signature(Error),
}

Enumerates the error conditions that can occur during BRB processing.

Variants

Membership(Error<A, S>)

error while processing membership change

Encoding(Error)

Failed to serialize all or part of a packet

Validation(ValidationError<A, S, V>)

Packet failed validation

Signature(Error)

Failure when working with signature

Trait Implementations

impl<A: Debug + Actor<S> + 'static, S: Debug + Sig + 'static, V: Debug + Error + 'static> Debug for Error<A, S, V>[src]

impl<A: Actor<S> + 'static, S: Sig + 'static, V: Debug + Error + 'static> Display for Error<A, S, V>[src]

impl<A: Actor<S> + 'static, S: Sig + 'static, V: Debug + Error + 'static> Error for Error<A, S, V>[src]

impl<A: Actor<S> + 'static, S: Sig + 'static, V: Debug + Error + 'static> From<Box<ErrorKind, Global>> for Error<A, S, V>[src]

impl<A: Actor<S> + 'static, S: Sig + 'static, V: Debug + Error + 'static> From<Error<A, S>> for Error<A, S, V>[src]

impl<A: Actor<S> + 'static, S: Sig + 'static, V: Debug + Error + 'static> From<Error> for Error<A, S, V>[src]

impl<A: Actor<S> + 'static, S: Sig + 'static, V: Debug + Error + 'static> From<ValidationError<A, S, V>> for Error<A, S, V>[src]

Auto Trait Implementations

impl<A, S, V> !RefUnwindSafe for Error<A, S, V>

impl<A, S, V> Send for Error<A, S, V> where
    A: Send,
    S: Send,
    V: Send

impl<A, S, V> Sync for Error<A, S, V> where
    A: Sync,
    S: Sync,
    V: Sync

impl<A, S, V> Unpin for Error<A, S, V> where
    A: Unpin,
    S: Unpin,
    V: Unpin

impl<A, S, V> !UnwindSafe for Error<A, S, V>

Blanket Implementations

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

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

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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<V, T> VZip<V> for T where
    V: MultiLane<T>,