Enum olm_rs::errors::OlmSessionError[][src]

pub enum OlmSessionError {
    BadAccountKey,
    BadMessageFormat,
    BadMessageKeyId,
    BadMessageMac,
    BadMessageVersion,
    InvalidBase64,
    NotEnoughRandom,
    OutputBufferTooSmall,
    Unknown,
}

All errors that could be caused by an operation regarding an OlmSession. Errors are named exactly like the ones in libolm.

Variants

Trait Implementations

impl Debug for OlmSessionError
[src]

Formats the value using the given formatter. Read more

impl PartialEq for OlmSessionError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations