Enum kvarn::encryption::Error

source ·
pub enum Error {
    Io(Error),
    Tls(Error),
}
Expand description

Generic encryption error.

Returns the io::Errors from IO during the handshake and when reading and writing to the underlying stream. If any [rustls::Error]s occur during reading and writing, those are returned.

Variants§

§

Io(Error)

An IO error occurred during operation.

§

Tls(Error)

Available on crate feature https only.

A TLS error was emitted.

Trait Implementations§

source§

impl Debug for Error

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source