pub enum OpenStoreError {
State(StoreError),
Crypto(IndexeddbCryptoStoreError),
}
Expand description
All the errors that can occur when opening an IndexedDB store.
Variants§
State(StoreError)
An error occurred with the state store implementation.
Crypto(IndexeddbCryptoStoreError)
An error occurred with the crypto store implementation.
Trait Implementations§
source§impl Debug for OpenStoreError
impl Debug for OpenStoreError
source§impl Display for OpenStoreError
impl Display for OpenStoreError
source§impl Error for OpenStoreError
impl Error for OpenStoreError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<IndexeddbCryptoStoreError> for OpenStoreError
impl From<IndexeddbCryptoStoreError> for OpenStoreError
source§fn from(source: IndexeddbCryptoStoreError) -> Self
fn from(source: IndexeddbCryptoStoreError) -> Self
Converts to this type from the input type.
source§impl From<StoreError> for OpenStoreError
impl From<StoreError> for OpenStoreError
source§fn from(source: StoreError) -> Self
fn from(source: StoreError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for OpenStoreError
impl Send for OpenStoreError
impl Sync for OpenStoreError
impl Unpin for OpenStoreError
impl !UnwindSafe for OpenStoreError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more