pub enum IndexeddbCryptoStoreError {
Serialization(Error),
DomException {
code: u16,
name: String,
message: String,
},
CryptoStoreError(CryptoStoreError),
SchemaTooNewError {
max_supported_version: u32,
current_version: u32,
},
}
Variants§
Trait Implementations§
source§impl Debug for IndexeddbCryptoStoreError
impl Debug for IndexeddbCryptoStoreError
source§impl Display for IndexeddbCryptoStoreError
impl Display for IndexeddbCryptoStoreError
source§impl Error for IndexeddbCryptoStoreError
impl Error for IndexeddbCryptoStoreError
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<CryptoStoreError> for IndexeddbCryptoStoreError
impl From<CryptoStoreError> for IndexeddbCryptoStoreError
source§fn from(source: CryptoStoreError) -> Self
fn from(source: CryptoStoreError) -> Self
Converts to this type from the input type.
source§impl From<DomException> for IndexeddbCryptoStoreError
impl From<DomException> for IndexeddbCryptoStoreError
source§fn from(frm: DomException) -> IndexeddbCryptoStoreError
fn from(frm: DomException) -> IndexeddbCryptoStoreError
Converts to this type from the input type.
source§impl From<Error> for IndexeddbCryptoStoreError
impl From<Error> for IndexeddbCryptoStoreError
source§impl From<Error> for IndexeddbCryptoStoreError
impl From<Error> for IndexeddbCryptoStoreError
source§impl From<IndexeddbCryptoStoreError> for CryptoStoreError
impl From<IndexeddbCryptoStoreError> for CryptoStoreError
source§fn from(frm: IndexeddbCryptoStoreError) -> CryptoStoreError
fn from(frm: IndexeddbCryptoStoreError) -> CryptoStoreError
Converts to this type from the input type.
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.
Auto Trait Implementations§
impl Freeze for IndexeddbCryptoStoreError
impl !RefUnwindSafe for IndexeddbCryptoStoreError
impl Send for IndexeddbCryptoStoreError
impl Sync for IndexeddbCryptoStoreError
impl Unpin for IndexeddbCryptoStoreError
impl !UnwindSafe for IndexeddbCryptoStoreError
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
§impl<T> CompatExt for T
impl<T> CompatExt for T
source§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
source§fn consume_handle(handle: Handle) -> Arc<T>
fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>
source§impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
source§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more