Enum rational::ParseRationalError
source · pub enum ParseRationalError {
ParseIntError(ParseIntError),
}
Variants§
ParseIntError(ParseIntError)
Trait Implementations§
source§impl Clone for ParseRationalError
impl Clone for ParseRationalError
source§fn clone(&self) -> ParseRationalError
fn clone(&self) -> ParseRationalError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ParseRationalError
impl Debug for ParseRationalError
source§impl Display for ParseRationalError
impl Display 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)>
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
source§fn eq(&self, other: &ParseRationalError) -> bool
fn eq(&self, other: &ParseRationalError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ParseRationalError
impl StructuralEq for ParseRationalError
impl StructuralPartialEq for ParseRationalError
Auto Trait Implementations§
impl RefUnwindSafe for ParseRationalError
impl Send for ParseRationalError
impl Sync for ParseRationalError
impl Unpin 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