pub enum CatalogError {
WrongKey,
UnknownSchema(i64),
Sqlite(Error),
Io(Error),
}Expand description
Why a catalog did not open.
Variants§
WrongKey
The key is not the one the catalog was made with.
UnknownSchema(i64)
The catalog’s schema version is not one this build knows.
Sqlite(Error)
SQLite failed.
Io(Error)
A file around the catalog could not be read, written or renamed.
Trait Implementations§
Source§impl Debug for CatalogError
impl Debug for CatalogError
Source§impl From<Error> for CatalogError
impl From<Error> for CatalogError
Source§fn from(e: Error) -> CatalogError
fn from(e: Error) -> CatalogError
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for CatalogError
impl !UnwindSafe for CatalogError
impl Freeze for CatalogError
impl Send for CatalogError
impl Sync for CatalogError
impl Unpin for CatalogError
impl UnsafeUnpin for CatalogError
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