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