pub struct MinSqliteWrapperError<'a> {
pub kind: &'a str,
pub reason: String,
}Expand description
Error type that covers all kinds of errors that might occur on some of the wrapped functions.
§Warning
This type isn’t for SQL errors. In order to deal with SQL
errors, consider checking SqlPrimaryResult enum and
callback functions.
Fields§
§kind: &'a strdefines type of the error
reason: Stringprovides error message
Trait Implementations§
Source§impl<'a> Clone for MinSqliteWrapperError<'a>
impl<'a> Clone for MinSqliteWrapperError<'a>
Source§fn clone(&self) -> MinSqliteWrapperError<'a>
fn clone(&self) -> MinSqliteWrapperError<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for MinSqliteWrapperError<'a>
impl<'a> Debug for MinSqliteWrapperError<'a>
Source§impl<'a> From<NulError> for MinSqliteWrapperError<'a>
impl<'a> From<NulError> for MinSqliteWrapperError<'a>
Auto Trait Implementations§
impl<'a> Freeze for MinSqliteWrapperError<'a>
impl<'a> RefUnwindSafe for MinSqliteWrapperError<'a>
impl<'a> Send for MinSqliteWrapperError<'a>
impl<'a> Sync for MinSqliteWrapperError<'a>
impl<'a> Unpin for MinSqliteWrapperError<'a>
impl<'a> UnwindSafe for MinSqliteWrapperError<'a>
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