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)>
Returns 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 for DataValueCastFailure
impl PartialEq for DataValueCastFailure
impl StructuralPartialEq for DataValueCastFailure
Auto Trait Implementations§
impl Freeze for DataValueCastFailure
impl RefUnwindSafe for DataValueCastFailure
impl Send for DataValueCastFailure
impl Sync for DataValueCastFailure
impl Unpin for DataValueCastFailure
impl UnwindSafe for DataValueCastFailure
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