Enum libp2p_noise::NoiseError [−][src]
pub enum NoiseError { Io(Error), Noise(SnowError), InvalidKey, AuthenticationFailed, InvalidPayload(DecodeError), SigningError(SigningError), // some variants omitted }
libp2p_noise error type.
Variants
Io(Error)
An I/O error has been encountered.
Noise(SnowError)
An noise framework error has been encountered.
A public key is invalid.
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 Error for NoiseError
[src]
impl Error for NoiseError
[src]impl From<DecodeError> for NoiseError
[src]
impl From<DecodeError> for NoiseError
[src]fn from(e: DecodeError) -> Self
[src]
impl From<SigningError> for NoiseError
[src]
impl From<SigningError> for NoiseError
[src]