pub enum TableConnectError {
Permissions(Error),
NotAFile(PathBuf),
DoesNotExist(PathBuf),
NotBackupRoot,
}
Expand description
Reasons why the database could not be connected to or read from
Variants§
Permissions(Error)
The database file could not be opened due to lack of full disk access
NotAFile(PathBuf)
The database file is not a valid SQLite
database
DoesNotExist(PathBuf)
The database file does not exist
NotBackupRoot
Not a backup root directory
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TableConnectError
impl !RefUnwindSafe for TableConnectError
impl Send for TableConnectError
impl Sync for TableConnectError
impl Unpin for TableConnectError
impl !UnwindSafe for TableConnectError
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