Enum tetsy_libp2p_noise::NoiseError[][src]

pub enum NoiseError {
    Io(Error),
    Noise(SnowError),
    InvalidKey,
    AuthenticationFailed,
    InvalidPayload(DecodeError),
    SigningError(SigningError),
    // some variants omitted
}

tetsy_libp2p_noise error type.

Variants

Io(Error)

An I/O error has been encountered.

Noise(SnowError)

An noise framework error has been encountered.

InvalidKey

A public key is invalid.

AuthenticationFailed

Authentication in a NoiseAuthenticated upgrade failed.

InvalidPayload(DecodeError)

A handshake payload is invalid.

SigningError(SigningError)

A signature was required and could not be created.

Trait Implementations

impl Debug for NoiseError[src]

impl Display for NoiseError[src]

impl Error for NoiseError[src]

impl From<DecodeError> for NoiseError[src]

impl From<Error> for NoiseError[src]

impl From<Error> for NoiseError[src]

impl From<SigningError> for NoiseError[src]

Auto Trait Implementations

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>,