Enum matrix_sdk_crypto::OlmError [−][src]
pub enum OlmError {
EventError(EventError),
JsonError(SerdeError),
OlmSession(OlmSessionError),
OlmGroupSession(OlmGroupSessionError),
Store(CryptoStoreError),
SessionWedged(UserId, String),
ReplayedMessage(UserId, String),
MissingSession,
}
Expand description
Error representing a failure during a device to device cryptographic 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: SerdeError
OlmSession(OlmSessionError)
The underlying Olm session operation returned an error.
Tuple Fields of OlmSession
OlmGroupSession(OlmGroupSessionError)
The underlying group session operation returned an error.
Tuple Fields of OlmGroupSession
Store(CryptoStoreError)
The storage layer returned an error.
Tuple Fields of Store
SessionWedged(UserId, String)
The session with a device has become corrupted.
Tuple Fields of SessionWedged
0: UserId
1: String
ReplayedMessage(UserId, String)
An Olm message got replayed while the Olm ratchet has already moved forward.
Tuple Fields of ReplayedMessage
0: UserId
1: String
Encryption failed because the device does not have a valid Olm session with us.
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.