pub enum DataValueCastFailure {
TryInto(Type, Type),
FromInteger(i128, Type),
}
Expand description
Record failures to cast DataValue.
Variants§
Trait Implementations§
source§impl Debug for DataValueCastFailure
impl Debug for DataValueCastFailure
source§impl Display for DataValueCastFailure
impl Display for DataValueCastFailure
source§impl Error for DataValueCastFailure
impl Error for DataValueCastFailure
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 PartialEq<DataValueCastFailure> for DataValueCastFailure
impl PartialEq<DataValueCastFailure> for DataValueCastFailure
source§fn eq(&self, other: &DataValueCastFailure) -> bool
fn eq(&self, other: &DataValueCastFailure) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.