pub enum StoreError {
Sqlite(Error),
Newer {
found: u32,
supported: u32,
},
Older {
found: u32,
supported: u32,
},
Io(Error),
Join(JoinError),
Unread(PathBuf),
}Expand description
Why the database cannot be used.
Variants§
Sqlite(Error)
SQLite failed.
Newer
A newer runnerd wrote the database.
Older
A runnerd before 0.0.19 wrote the database.
Io(Error)
The directory or file cannot be created.
Join(JoinError)
A blocking read did not finish.
Unread(PathBuf)
The database’s -wal file holds changes not yet in it, and this user cannot open the database the way that
reads them.
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)>
Returns 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<Error> for StoreError
impl From<Error> for StoreError
Source§impl From<Error> for StoreError
impl From<Error> for StoreError
Auto Trait Implementations§
impl !RefUnwindSafe for StoreError
impl !UnwindSafe for StoreError
impl Freeze for StoreError
impl Send for StoreError
impl Sync for StoreError
impl Unpin for StoreError
impl UnsafeUnpin 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