pub enum UnitScaleError {
Conversion(String),
Unknown(String),
}Expand description
Errors relating to data conversion
Variants§
Trait Implementations§
Source§impl Debug for UnitScaleError
impl Debug for UnitScaleError
Source§impl Display for UnitScaleError
impl Display for UnitScaleError
Source§impl Error for UnitScaleError
impl Error for UnitScaleError
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 UnitScaleError
impl PartialEq for UnitScaleError
impl StructuralPartialEq for UnitScaleError
Auto Trait Implementations§
impl Freeze for UnitScaleError
impl RefUnwindSafe for UnitScaleError
impl Send for UnitScaleError
impl Sync for UnitScaleError
impl Unpin for UnitScaleError
impl UnwindSafe for UnitScaleError
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