pub struct SqliteFailure {
pub code: i32,
pub error_msg: String,
}Fields§
§code: i32§error_msg: StringTrait Implementations§
Source§impl Debug for SqliteFailure
impl Debug for SqliteFailure
Source§impl Display for SqliteFailure
impl Display for SqliteFailure
Source§impl Error for SqliteFailure
impl Error for SqliteFailure
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()
Source§impl From<SqliteFailure> for Error
impl From<SqliteFailure> for Error
Source§fn from(source: SqliteFailure) -> Error
fn from(source: SqliteFailure) -> Error
Converts to this type from the input type.
Source§impl From<SqliteFailure> for SqlReadErrorBindings
impl From<SqliteFailure> for SqlReadErrorBindings
Source§fn from(source: SqliteFailure) -> SqlReadErrorBindings
fn from(source: SqliteFailure) -> SqlReadErrorBindings
Converts to this type from the input type.
Source§impl From<SqliteFailure> for SqlWriteBindingError
impl From<SqliteFailure> for SqlWriteBindingError
Source§fn from(source: SqliteFailure) -> SqlWriteBindingError
fn from(source: SqliteFailure) -> SqlWriteBindingError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SqliteFailure
impl RefUnwindSafe for SqliteFailure
impl Send for SqliteFailure
impl Sync for SqliteFailure
impl Unpin for SqliteFailure
impl UnsafeUnpin for SqliteFailure
impl UnwindSafe for SqliteFailure
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