pub struct ValueConversionError { /* private fields */ }
Expand description
An error type that represents a failure to convert a Val to a Value.
Trait Implementations§
Source§impl Debug for ValueConversionError
impl Debug for ValueConversionError
Source§impl Display for ValueConversionError
impl Display for ValueConversionError
Source§impl Error for ValueConversionError
impl Error for ValueConversionError
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 From<FromBytesWithNulError> for ValueConversionError
impl From<FromBytesWithNulError> for ValueConversionError
Source§fn from(error: FromBytesWithNulError) -> Self
fn from(error: FromBytesWithNulError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ValueConversionError
impl RefUnwindSafe for ValueConversionError
impl Send for ValueConversionError
impl Sync for ValueConversionError
impl Unpin for ValueConversionError
impl UnwindSafe for ValueConversionError
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