Struct lunatic_sqlite_api::wire_format::SqliteError
source · pub struct SqliteError {
pub code: Option<u32>,
pub message: Option<String>,
}
Expand description
Error structure that carries data from sqlite_errmsg and sqlite_errcode
Fields§
§code: Option<u32>
§message: Option<String>
Trait Implementations§
source§impl Clone for SqliteError
impl Clone for SqliteError
source§fn clone(&self) -> SqliteError
fn clone(&self) -> SqliteError
Returns a copy 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 Debug for SqliteError
impl Debug for SqliteError
source§impl Default for SqliteError
impl Default for SqliteError
source§fn default() -> SqliteError
fn default() -> SqliteError
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SqliteError
impl<'de> Deserialize<'de> for SqliteError
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<Error> for SqliteError
impl From<Error> for SqliteError
Auto Trait Implementations§
impl RefUnwindSafe for SqliteError
impl Send for SqliteError
impl Sync for SqliteError
impl Unpin for SqliteError
impl UnwindSafe for SqliteError
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,
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
§impl<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where T: AsFilelike,
Query the “status” flags for the
self
file descriptor.