Enum bytecheck::Tuple3CheckError
source · pub enum Tuple3CheckError<T2, T1, T0> {
T2(T2),
T1(T1),
T0(T0),
}
Expand description
An error resulting from an invalid tuple.
Variants§
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<T2: Display + Debug, T1: Display + Debug, T0: Display + Debug> Error for Tuple3CheckError<T2, T1, T0>
impl<T2: Display + Debug, T1: Display + Debug, T0: Display + Debug> Error for Tuple3CheckError<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<T2, T1, T0> Freeze for Tuple3CheckError<T2, T1, T0>
impl<T2, T1, T0> RefUnwindSafe for Tuple3CheckError<T2, T1, T0>
impl<T2, T1, T0> Send for Tuple3CheckError<T2, T1, T0>
impl<T2, T1, T0> Sync for Tuple3CheckError<T2, T1, T0>
impl<T2, T1, T0> Unpin for Tuple3CheckError<T2, T1, T0>
impl<T2, T1, T0> UnwindSafe for Tuple3CheckError<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