pub enum ExactError {
Exhausted(ScratchExhausted),
OutOfRange,
}Expand description
The error of Point::exact.
Variants§
Exhausted(ScratchExhausted)
The arena ran out of room.
OutOfRange
The inputs of the point lie outside the range of the exact arithmetic.
Trait Implementations§
Source§impl Clone for ExactError
impl Clone for ExactError
impl Copy 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
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<ScratchExhausted> for ExactError
impl From<ScratchExhausted> for ExactError
Source§fn from(e: ScratchExhausted) -> Self
fn from(e: ScratchExhausted) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ExactError
impl PartialEq for ExactError
impl StructuralPartialEq for ExactError
Auto Trait Implementations§
impl Forget for ExactError
impl Freeze for ExactError
impl Move 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