Struct dec::InvalidPrecisionError
source · pub struct InvalidPrecisionError;
Expand description
An error indicating that a precision is not valid for a given context.
Trait Implementations§
source§impl Debug for InvalidPrecisionError
impl Debug for InvalidPrecisionError
source§impl Display for InvalidPrecisionError
impl Display for InvalidPrecisionError
source§impl Error for InvalidPrecisionError
impl Error for InvalidPrecisionError
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 InvalidPrecisionError
impl PartialEq for InvalidPrecisionError
impl Eq for InvalidPrecisionError
impl StructuralPartialEq for InvalidPrecisionError
Auto Trait Implementations§
impl Freeze for InvalidPrecisionError
impl RefUnwindSafe for InvalidPrecisionError
impl Send for InvalidPrecisionError
impl Sync for InvalidPrecisionError
impl Unpin for InvalidPrecisionError
impl UnwindSafe for InvalidPrecisionError
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