Enum matrix_sdk_base::StoreError [−][src]
pub enum StoreError {
Json(Error),
Identifier(Error),
StoreLocked,
UnencryptedStore,
Encryption(String),
}Expand description
State store specific error type.
Variants
Json(Error)An error happened while serializing or deserializing some data.
An error happened while deserializing a Matrix identifier, e.g. an user id.
The store is locked with a passphrase and an incorrect passphrase was given.
An unencrypted store was tried to be unlocked with a passphrase.
Encryption(String)The store failed to encrypt or decrypt some data.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for StoreErrorimpl Send for StoreErrorimpl Sync for StoreErrorimpl Unpin for StoreErrorimpl !UnwindSafe for StoreErrorBlanket 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