pub enum ParseTuple2Error<E0, E1> {
Field0 {
source: E0,
},
Field1 {
source: E1,
},
}
Expand description
This enum combines all errors that can occur when parsing an tuple.
Variants§
Trait Implementations§
Source§impl<E0, E1> Display for ParseTuple2Error<E0, E1>
impl<E0, E1> Display for ParseTuple2Error<E0, E1>
Source§impl<E0, E1> Error for ParseTuple2Error<E0, E1>
impl<E0, E1> Error for ParseTuple2Error<E0, E1>
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()
Auto Trait Implementations§
impl<E0, E1> Freeze for ParseTuple2Error<E0, E1>
impl<E0, E1> RefUnwindSafe for ParseTuple2Error<E0, E1>where
E0: RefUnwindSafe,
E1: RefUnwindSafe,
impl<E0, E1> Send for ParseTuple2Error<E0, E1>
impl<E0, E1> Sync for ParseTuple2Error<E0, E1>
impl<E0, E1> Unpin for ParseTuple2Error<E0, E1>
impl<E0, E1> UnwindSafe for ParseTuple2Error<E0, E1>where
E0: UnwindSafe,
E1: 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