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
Io(IoError)An IO error occurred.
OlmAccount(OlmAccountError)The underlying Olm Account operation returned an error.
OlmSession(OlmSessionError)The underlying Olm session operation returned an error.
OlmGroupSession(OlmGroupSessionError)The underlying Olm group session operation returned an error.
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.
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for CryptoStoreErrorimpl Send for CryptoStoreErrorimpl Sync for CryptoStoreErrorimpl Unpin for CryptoStoreErrorimpl !UnwindSafe for CryptoStoreErrorBlanket 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