Enum snow::NoiseError [] [src]

pub enum NoiseError {
    InitError(&'static str),
    PrereqError(String),
    InputError(&'static str),
    StateError(&'static str),
    DecryptError,
}

All error types produced by a Noise operation.

Variants

An issue in initialization that is independent of a missing prerequisite parameter

A missing or otherwise malformed prerequisite during initialization

Bad input during an operation. Typically a message that causes max message size to be exceeded.

Unsupported operation for the current state in the state machine.

Decryption error, usually due to incorrect key material.

Trait Implementations

impl Debug for NoiseError
[src]

Formats the value using the given formatter.