pub struct ParseError<T> {
pub code: String,
/* private fields */
}Fields§
§code: StringTrait Implementations§
Source§impl<T: Clone> Clone for ParseError<T>
impl<T: Clone> Clone for ParseError<T>
Source§fn clone(&self) -> ParseError<T>
fn clone(&self) -> ParseError<T>
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<T: Debug> Debug for ParseError<T>
impl<T: Debug> Debug for ParseError<T>
Source§impl<T> Display for ParseError<T>
impl<T> Display for ParseError<T>
Source§impl<T> Error for ParseError<T>
impl<T> Error for ParseError<T>
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<T: Hash> Hash for ParseError<T>
impl<T: Hash> Hash for ParseError<T>
Source§impl<T: Ord> Ord for ParseError<T>
impl<T: Ord> Ord for ParseError<T>
Source§fn cmp(&self, other: &ParseError<T>) -> Ordering
fn cmp(&self, other: &ParseError<T>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<T: PartialEq> PartialEq for ParseError<T>
impl<T: PartialEq> PartialEq for ParseError<T>
Source§impl<T: PartialOrd> PartialOrd for ParseError<T>
impl<T: PartialOrd> PartialOrd for ParseError<T>
impl<T: Eq> Eq for ParseError<T>
impl<T> StructuralPartialEq for ParseError<T>
Auto Trait Implementations§
impl<T> Freeze for ParseError<T>
impl<T> RefUnwindSafe for ParseError<T>where
T: RefUnwindSafe,
impl<T> Send for ParseError<T>where
T: Send,
impl<T> Sync for ParseError<T>where
T: Sync,
impl<T> Unpin for ParseError<T>where
T: Unpin,
impl<T> UnwindSafe for ParseError<T>where
T: UnwindSafe,
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