Enum matrix_sdk_crypto::store::CryptoStoreError [−][src]
pub enum CryptoStoreError {
AccountUnset,
Database(Error),
Io(IoError),
OlmAccount(OlmAccountError),
OlmSession(OlmSessionError),
OlmGroupSession(OlmGroupSessionError),
SessionUnpickling(SessionUnpicklingError),
UnpicklingError,
IdentifierValidation(IdentifierValidationError),
Serialization(SerdeError),
}
Expand description
The crypto store’s error type.
Variants
The account that owns the sessions, group sessions, and devices wasn’t found.
Database(Error)
Error in the internal database
Tuple Fields of Database
0: Error
Io(IoError)
An IO error occurred.
Tuple Fields of Io
0: IoError
OlmAccount(OlmAccountError)
The underlying Olm Account operation returned an error.
Tuple Fields of OlmAccount
OlmSession(OlmSessionError)
The underlying Olm session operation returned an error.
Tuple Fields of OlmSession
OlmGroupSession(OlmGroupSessionError)
The underlying Olm group session operation returned an error.
Tuple Fields of OlmGroupSession
A session time-stamp couldn’t be loaded.
Failed to decrypt an pickled object.
A Matrix identifier failed to be validated.
Serialization(SerdeError)
The store failed to (de)serialize a data type.
Tuple Fields of Serialization
0: SerdeError
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.