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
BadAccountKey
BadMessageFormat
BadMessageKeyId
BadMessageMac
BadMessageVersion
InvalidBase64
NotEnoughRandom
OutputBufferTooSmall
Unknown
Trait Implementations
impl Debug for OlmSessionError
[src]
impl Debug for OlmSessionError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for OlmSessionError
[src]
impl PartialEq for OlmSessionError
Auto Trait Implementations
impl Send for OlmSessionError
impl Send for OlmSessionError
impl Sync for OlmSessionError
impl Sync for OlmSessionError