pub struct ParseErrorEither(/* private fields */);
Available on crate feature
easy-functions
only.Expand description
The error type representing a parse error for one of the operands
specified to the compare()
function.
Implementations§
Source§impl ParseErrorEither
impl ParseErrorEither
Sourcepub fn side(&self) -> ParseErrorSide
pub fn side(&self) -> ParseErrorSide
Returns which operand caused a parse error.
Trait Implementations§
Source§impl Clone for ParseErrorEither
impl Clone for ParseErrorEither
Source§fn clone(&self) -> ParseErrorEither
fn clone(&self) -> ParseErrorEither
Returns a duplicate 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 ParseErrorEither
impl Debug for ParseErrorEither
Source§impl Display for ParseErrorEither
impl Display for ParseErrorEither
Source§impl Error for ParseErrorEither
impl Error for ParseErrorEither
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 ParseErrorInfo for ParseErrorEither
impl ParseErrorInfo for ParseErrorEither
Source§impl PartialEq for ParseErrorEither
impl PartialEq for ParseErrorEither
impl Copy for ParseErrorEither
impl Eq for ParseErrorEither
impl StructuralPartialEq for ParseErrorEither
Auto Trait Implementations§
impl Freeze for ParseErrorEither
impl RefUnwindSafe for ParseErrorEither
impl Send for ParseErrorEither
impl Sync for ParseErrorEither
impl Unpin for ParseErrorEither
impl UnwindSafe for ParseErrorEither
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