pub enum Decoder4Error<A, B, C, D> {
First(A),
Second(B),
Third(C),
Fourth(D),
}Expand description
Error type for Decoder4.
Variants§
First(A)
Error from the first decoder.
Second(B)
Error from the second decoder.
Third(C)
Error from the third decoder.
Fourth(D)
Error from the fourth decoder.
Trait Implementations§
Source§impl<A, B, C, D> Display for Decoder4Error<A, B, C, D>
impl<A, B, C, D> Display for Decoder4Error<A, B, C, D>
impl<A: Eq, B: Eq, C: Eq, D: Eq> Eq for Decoder4Error<A, B, C, D>
Source§impl<A, B, C, D> Error for Decoder4Error<A, B, C, D>
Available on crate feature std only.
impl<A, B, C, D> Error for Decoder4Error<A, B, C, D>
Available on crate feature
std only.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<A: PartialEq, B: PartialEq, C: PartialEq, D: PartialEq> PartialEq for Decoder4Error<A, B, C, D>
impl<A: PartialEq, B: PartialEq, C: PartialEq, D: PartialEq> PartialEq for Decoder4Error<A, B, C, D>
impl<A: PartialEq, B: PartialEq, C: PartialEq, D: PartialEq> StructuralPartialEq for Decoder4Error<A, B, C, D>
Auto Trait Implementations§
impl<A, B, C, D> Freeze for Decoder4Error<A, B, C, D>
impl<A, B, C, D> RefUnwindSafe for Decoder4Error<A, B, C, D>
impl<A, B, C, D> Send for Decoder4Error<A, B, C, D>
impl<A, B, C, D> Sync for Decoder4Error<A, B, C, D>
impl<A, B, C, D> Unpin for Decoder4Error<A, B, C, D>
impl<A, B, C, D> UnsafeUnpin for Decoder4Error<A, B, C, D>
impl<A, B, C, D> UnwindSafe for Decoder4Error<A, B, C, D>
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