pub enum SqliteDatasetError {
Io(Error),
Sql(Error),
Serde(Error),
FileExists(PathBuf),
ConnectionPool(Error),
PersistDbFile(Error<Writable>),
Other(&'static str),
}Available on crate features
sqlite or sqlite-bundled only.Expand description
Sqlite dataset error.
Variants§
Io(Error)
IO related error.
Sql(Error)
Sql related error.
Serde(Error)
Serde related error.
FileExists(PathBuf)
The database file already exists error.
ConnectionPool(Error)
Error when creating the connection pool.
PersistDbFile(Error<Writable>)
Error when persisting the temporary database file.
Other(&'static str)
Any other error.
Trait Implementations§
Source§impl Debug for SqliteDatasetError
impl Debug for SqliteDatasetError
Source§impl Display for SqliteDatasetError
impl Display for SqliteDatasetError
Source§impl Error for SqliteDatasetError
impl Error for SqliteDatasetError
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<&'static str> for SqliteDatasetError
impl From<&'static str> for SqliteDatasetError
Source§impl From<Error> for SqliteDatasetError
impl From<Error> for SqliteDatasetError
Source§impl From<Error> for SqliteDatasetError
impl From<Error> for SqliteDatasetError
Source§impl From<Error> for SqliteDatasetError
impl From<Error> for SqliteDatasetError
Source§impl From<Error> for SqliteDatasetError
impl From<Error> for SqliteDatasetError
Source§impl From<SqliteDatasetError> for ImporterError
impl From<SqliteDatasetError> for ImporterError
Source§fn from(source: SqliteDatasetError) -> Self
fn from(source: SqliteDatasetError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SqliteDatasetError
impl !RefUnwindSafe for SqliteDatasetError
impl Send for SqliteDatasetError
impl Sync for SqliteDatasetError
impl Unpin for SqliteDatasetError
impl !UnwindSafe for SqliteDatasetError
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