Enum matrix_sdk_crypto::MegolmError [−][src]
pub enum MegolmError {
EventError(EventError),
JsonError(SerdeError),
MissingSession,
OlmGroupSession(OlmGroupSessionError),
EncryptionNotEnabled,
Store(CryptoStoreError),
}Expand description
Error representing a failure during a group encryption operation.
Variants
The event that should have been decrypted is malformed.
JsonError(SerdeError)The received decrypted event couldn’t be deserialized.
Tuple Fields of JsonError
0: SerdeErrorDecryption failed because the session needed to decrypt the event is missing.
OlmGroupSession(OlmGroupSessionError)The underlying group session operation returned an error.
Tuple Fields of OlmGroupSession
The room where a group session should be shared is not encrypted.
Store(CryptoStoreError)The storage layer returned an error.
Tuple Fields of Store
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.