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