Enum SqliteDiscoveryError
pub enum SqliteDiscoveryError {
ParseIntError,
ParseFloatError,
IndexNotFound(String),
SqlxError(SqlxError),
}Expand description
All the errors that can be encountered when using this module
Variants§
ParseIntError
An error parsing a string from the result of an SQLite query into an rust-language integer
ParseFloatError
An error parsing a string from the result of an SQLite query into an rust-language float
IndexNotFound(String)
The target index was not found
SqlxError(SqlxError)
The error as defined in SqlxError
Trait Implementations§
§impl Debug for SqliteDiscoveryError
impl Debug for SqliteDiscoveryError
§impl Display for SqliteDiscoveryError
impl Display for SqliteDiscoveryError
§impl Error for SqliteDiscoveryError
impl Error for SqliteDiscoveryError
1.30.0 · 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()
§impl From<ParseFloatError> for SqliteDiscoveryError
impl From<ParseFloatError> for SqliteDiscoveryError
§fn from(_: ParseFloatError) -> Self
fn from(_: ParseFloatError) -> Self
Converts to this type from the input type.
§impl From<ParseIntError> for SqliteDiscoveryError
impl From<ParseIntError> for SqliteDiscoveryError
§fn from(_: ParseIntError) -> Self
fn from(_: ParseIntError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SqliteDiscoveryError
impl RefUnwindSafe for SqliteDiscoveryError
impl Send for SqliteDiscoveryError
impl Sync for SqliteDiscoveryError
impl Unpin for SqliteDiscoveryError
impl UnwindSafe for SqliteDiscoveryError
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