Enum qualia::StoreError
source · pub enum StoreError {
Conversion(ConversionError),
Serialization(Error),
Sqlite(Error),
Usage(String),
NotOne(usize),
}
Expand description
All errors that may be returned from a Store
.
Variants§
Trait Implementations§
source§impl Debug for StoreError
impl Debug for StoreError
source§impl Display for StoreError
impl Display for StoreError
source§impl Error for StoreError
impl Error for StoreError
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<ConversionError> for StoreError
impl From<ConversionError> for StoreError
source§fn from(source: ConversionError) -> Self
fn from(source: ConversionError) -> Self
Converts to this type from the input type.
source§impl From<Error> for StoreError
impl From<Error> for StoreError
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§
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