pub enum ExactError {
Width,
Parse,
Operand,
TypeMismatch,
DivideByZero,
NegativeShift,
Unsupported(String),
Overflow,
}Variants§
Trait Implementations§
Source§impl Clone for ExactError
impl Clone for ExactError
Source§impl Debug for ExactError
impl Debug for ExactError
Source§impl Display for ExactError
impl Display for ExactError
impl Eq for ExactError
Source§impl Error for ExactError
impl Error for ExactError
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 ExactError
impl PartialEq for ExactError
impl StructuralPartialEq for ExactError
Auto Trait Implementations§
impl Freeze for ExactError
impl RefUnwindSafe for ExactError
impl Send for ExactError
impl Sync for ExactError
impl Unpin for ExactError
impl UnsafeUnpin for ExactError
impl UnwindSafe for ExactError
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