Enum serde_db::de::ConversionError [−][src]
An error type for implementors of DbValue
.
Variants
ValueType(String)
The DbValue cannot be converted into the desired rust type.
NumberRange(String)
The DbValue is to big or too small (negative) fo conversion into the desired rust type.
Incomplete(String)
The DbValue was not yet completely loaded, and further loading is not possible anymore.
Trait Implementations
impl Error for ConversionError
[src]
impl Error for ConversionError
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
fn cause(&self) -> Option<&Error>
1.0.0
[src]The lower-level cause of this error, if any. Read more
impl Debug for ConversionError
[src]
impl Debug for ConversionError
fn fmt(&self, formatter: &mut Formatter) -> Result
[src]
fn fmt(&self, formatter: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for ConversionError
[src]
impl Display for ConversionError
fn fmt(&self, fmt: &mut Formatter) -> Result
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<ConversionError> for DeserializationError
[src]
impl From<ConversionError> for DeserializationError
fn from(error: ConversionError) -> DeserializationError
[src]
fn from(error: ConversionError) -> DeserializationError
Performs the conversion.
Auto Trait Implementations
impl Send for ConversionError
impl Send for ConversionError
impl Sync for ConversionError
impl Sync for ConversionError