Enum matrix_sdk::StoreError [−][src]
pub enum StoreError {
Sled(Error),
Json(Error),
Identifier(Error),
StoreLocked,
UnencryptedStore,
Encryption(String),
}
Expand description
State store specific error type.
Variants
An error happened in the underlying sled database.
Json(Error)
An error happened while serializing or deserializing some data.
Tuple Fields of Json
0: Error
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.
Tuple Fields of Encryption
0: String
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for StoreError
impl Send for StoreError
impl Sync for StoreError
impl Unpin for StoreError
impl !UnwindSafe for StoreError
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more