Enum bytecheck::Tuple4CheckError
source · pub enum Tuple4CheckError<T3, T2, T1, T0> {
T3(T3),
T2(T2),
T1(T1),
T0(T0),
}
Expand description
An error resulting from an invalid tuple.
Variants§
T3(T3)
The given tuple member was invalid.
T2(T2)
The given tuple member was invalid.
T1(T1)
The given tuple member was invalid.
T0(T0)
The given tuple member was invalid.
Trait Implementations§
source§impl<T3: Display, T2: Display, T1: Display, T0: Display> Display for Tuple4CheckError<T3, T2, T1, T0>
impl<T3: Display, T2: Display, T1: Display, T0: Display> Display for Tuple4CheckError<T3, T2, T1, T0>
source§impl<T3: Display + Debug, T2: Display + Debug, T1: Display + Debug, T0: Display + Debug> Error for Tuple4CheckError<T3, T2, T1, T0>
impl<T3: Display + Debug, T2: Display + Debug, T1: Display + Debug, T0: Display + Debug> Error for Tuple4CheckError<T3, T2, T1, T0>
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<T3, T2, T1, T0> Freeze for Tuple4CheckError<T3, T2, T1, T0>
impl<T3, T2, T1, T0> RefUnwindSafe for Tuple4CheckError<T3, T2, T1, T0>
impl<T3, T2, T1, T0> Send for Tuple4CheckError<T3, T2, T1, T0>
impl<T3, T2, T1, T0> Sync for Tuple4CheckError<T3, T2, T1, T0>
impl<T3, T2, T1, T0> Unpin for Tuple4CheckError<T3, T2, T1, T0>
impl<T3, T2, T1, T0> UnwindSafe for Tuple4CheckError<T3, T2, T1, T0>
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