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.
Decryption failed because the session needed to decrypt the event is missing.
OlmGroupSession(OlmGroupSessionError)The underlying group session operation returned an error.
The room where a group session should be shared is not encrypted.
Store(CryptoStoreError)The storage layer returned an error.
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for MegolmErrorimpl Send for MegolmErrorimpl Sync for MegolmErrorimpl Unpin for MegolmErrorimpl !UnwindSafe for MegolmErrorBlanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = TShould always be Self