pub struct ParseRationalError { /* private fields */ }Expand description
The error of parsing a Rational from a string that is not n or n/d with integers
n and d != 0.
Trait Implementations§
Source§impl Clone for ParseRationalError
impl Clone for ParseRationalError
Source§impl Debug for ParseRationalError
impl Debug for ParseRationalError
Source§impl Display for ParseRationalError
impl Display for ParseRationalError
impl Eq for ParseRationalError
Source§impl Error for ParseRationalError
impl Error for ParseRationalError
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 ParseRationalError
impl PartialEq for ParseRationalError
impl StructuralPartialEq for ParseRationalError
Auto Trait Implementations§
impl Freeze for ParseRationalError
impl RefUnwindSafe for ParseRationalError
impl Send for ParseRationalError
impl Sync for ParseRationalError
impl Unpin for ParseRationalError
impl UnsafeUnpin for ParseRationalError
impl UnwindSafe for ParseRationalError
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