pub enum NookErrorKind {
Storage,
Corruption,
Conflict,
Transaction,
InvalidArg,
Closed,
Schema,
Migration,
}Expand description
Stable kind tag used to map a NookError to a JS error class.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for NookErrorKind
impl Clone for NookErrorKind
Source§fn clone(&self) -> NookErrorKind
fn clone(&self) -> NookErrorKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NookErrorKind
impl Debug for NookErrorKind
Source§impl PartialEq for NookErrorKind
impl PartialEq for NookErrorKind
Source§fn eq(&self, other: &NookErrorKind) -> bool
fn eq(&self, other: &NookErrorKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for NookErrorKind
impl Eq for NookErrorKind
impl StructuralPartialEq for NookErrorKind
Auto Trait Implementations§
impl Freeze for NookErrorKind
impl RefUnwindSafe for NookErrorKind
impl Send for NookErrorKind
impl Sync for NookErrorKind
impl Unpin for NookErrorKind
impl UnsafeUnpin for NookErrorKind
impl UnwindSafe for NookErrorKind
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