pub enum OlmGroupSessionError {
BadAccountKey,
BadMessageFormat,
BadMessageMac,
BadMessageVersion,
BadSessionKey,
InvalidBase64,
NotEnoughRandom,
OutputBufferTooSmall,
UnknownMessageIndex,
Unknown,
}
Expand description
All errors that could be caused by an operation regarding
OlmOutboundGroupSession
and
OlmInboundGroupSession
.
Errors are named exactly like the ones in libolm.
Variants§
BadAccountKey
BadMessageFormat
BadMessageMac
BadMessageVersion
BadSessionKey
InvalidBase64
NotEnoughRandom
OutputBufferTooSmall
UnknownMessageIndex
Unknown
Trait Implementations§
Source§impl Debug for OlmGroupSessionError
impl Debug for OlmGroupSessionError
Source§impl Display for OlmGroupSessionError
impl Display for OlmGroupSessionError
Source§impl Error for OlmGroupSessionError
impl Error for OlmGroupSessionError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for OlmGroupSessionError
impl PartialEq for OlmGroupSessionError
impl StructuralPartialEq for OlmGroupSessionError
Auto Trait Implementations§
impl Freeze for OlmGroupSessionError
impl RefUnwindSafe for OlmGroupSessionError
impl Send for OlmGroupSessionError
impl Sync for OlmGroupSessionError
impl Unpin for OlmGroupSessionError
impl UnwindSafe for OlmGroupSessionError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more