Enum serde_rusqlite::error::Error [−][src]
pub enum Error { Unsupported(String), ValueTooLarge(String), Serialization(String), Deserialization(String), Rusqlite(Error), ColumnNamesNotAvailable, }
Variants
Unsupported(String)
This type of serialization or deserialization is not supported
ValueTooLarge(String)
The value is too large, e.g. trying to serialize u64
that is too large to fit in i64
Serialization(String)
General error during serialization
Deserialization(String)
General error during deserialization
Rusqlite(Error)
Error originating from rusqlite
No column name information available
Implementations
impl Error
[src]
impl Error
[src]pub fn ser_unsupported(typ: &str) -> Self
[src]
Create the instance of Unsupported
during serialization Error
pub fn de_unsupported(typ: &str) -> Self
[src]
Create the instance of Unsupported
during deserialization Error
Trait Implementations
impl Error for Error
[src]
impl Error for Error
[src]fn custom<T: Display>(msg: T) -> Self
[src]
pub fn invalid_type(unexp: Unexpected<'_>, exp: &dyn Expected) -> Self
[src]
pub fn invalid_value(unexp: Unexpected<'_>, exp: &dyn Expected) -> Self
[src]
pub fn invalid_length(len: usize, exp: &dyn Expected) -> Self
[src]
pub fn unknown_variant(variant: &str, expected: &'static [&'static str]) -> Self
[src]
pub fn unknown_field(field: &str, expected: &'static [&'static str]) -> Self
[src]
pub fn missing_field(field: &'static str) -> Self
[src]
pub fn duplicate_field(field: &'static str) -> Self
[src]
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
impl !UnwindSafe for Error