pub enum MlsError {
Show 13 variants
CryptoError(String),
InvalidGroupState(String),
MemberNotFound(MemberId),
Unauthorized(String),
ProtocolError(String),
SerializationError(String),
KeyDerivationError(String),
DecryptionFailed,
InvalidEpoch {
expected: u64,
actual: u64,
},
TreeKemError(String),
InvalidMessage(String),
DeserializationError(String),
Io(Error),
}Expand description
Errors that can occur in MLS operations
Variants§
CryptoError(String)
InvalidGroupState(String)
MemberNotFound(MemberId)
ProtocolError(String)
SerializationError(String)
KeyDerivationError(String)
DecryptionFailed
InvalidEpoch
TreeKemError(String)
InvalidMessage(String)
DeserializationError(String)
Io(Error)
Trait Implementations§
Source§impl Error for MlsError
impl Error for MlsError
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()
Auto Trait Implementations§
impl Freeze for MlsError
impl !RefUnwindSafe for MlsError
impl Send for MlsError
impl Sync for MlsError
impl Unpin for MlsError
impl !UnwindSafe for MlsError
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