Enum bytecheck::Tuple10CheckError
source · [−]pub enum Tuple10CheckError<T9, T8, T7, T6, T5, T4, T3, T2, T1, T0> {
T9(T9),
T8(T8),
T7(T7),
T6(T6),
T5(T5),
T4(T4),
T3(T3),
T2(T2),
T1(T1),
T0(T0),
}
Expand description
An error resulting from an invalid tuple.
Variants
T9(T9)
The given tuple member was invalid.
T8(T8)
The given tuple member was invalid.
T7(T7)
The given tuple member was invalid.
T6(T6)
The given tuple member was invalid.
T5(T5)
The given tuple member was invalid.
T4(T4)
The given tuple member was invalid.
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
sourceimpl<T9: Debug, T8: Debug, T7: Debug, T6: Debug, T5: Debug, T4: Debug, T3: Debug, T2: Debug, T1: Debug, T0: Debug> Debug for Tuple10CheckError<T9, T8, T7, T6, T5, T4, T3, T2, T1, T0>
impl<T9: Debug, T8: Debug, T7: Debug, T6: Debug, T5: Debug, T4: Debug, T3: Debug, T2: Debug, T1: Debug, T0: Debug> Debug for Tuple10CheckError<T9, T8, T7, T6, T5, T4, T3, T2, T1, T0>
sourceimpl<T9: Display, T8: Display, T7: Display, T6: Display, T5: Display, T4: Display, T3: Display, T2: Display, T1: Display, T0: Display> Display for Tuple10CheckError<T9, T8, T7, T6, T5, T4, T3, T2, T1, T0>
impl<T9: Display, T8: Display, T7: Display, T6: Display, T5: Display, T4: Display, T3: Display, T2: Display, T1: Display, T0: Display> Display for Tuple10CheckError<T9, T8, T7, T6, T5, T4, T3, T2, T1, T0>
sourceimpl<T9: Display + Debug, T8: Display + Debug, T7: Display + Debug, T6: Display + Debug, T5: Display + Debug, T4: Display + Debug, T3: Display + Debug, T2: Display + Debug, T1: Display + Debug, T0: Display + Debug> Error for Tuple10CheckError<T9, T8, T7, T6, T5, T4, T3, T2, T1, T0>
impl<T9: Display + Debug, T8: Display + Debug, T7: Display + Debug, T6: Display + Debug, T5: Display + Debug, T4: Display + Debug, T3: Display + Debug, T2: Display + Debug, T1: Display + Debug, T0: Display + Debug> Error for Tuple10CheckError<T9, T8, T7, T6, T5, T4, T3, T2, T1, T0>
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations
impl<T9, T8, T7, T6, T5, T4, T3, T2, T1, T0> RefUnwindSafe for Tuple10CheckError<T9, T8, T7, T6, T5, T4, T3, T2, T1, T0> where
T0: RefUnwindSafe,
T1: RefUnwindSafe,
T2: RefUnwindSafe,
T3: RefUnwindSafe,
T4: RefUnwindSafe,
T5: RefUnwindSafe,
T6: RefUnwindSafe,
T7: RefUnwindSafe,
T8: RefUnwindSafe,
T9: RefUnwindSafe,
impl<T9, T8, T7, T6, T5, T4, T3, T2, T1, T0> Send for Tuple10CheckError<T9, T8, T7, T6, T5, T4, T3, T2, T1, T0> where
T0: Send,
T1: Send,
T2: Send,
T3: Send,
T4: Send,
T5: Send,
T6: Send,
T7: Send,
T8: Send,
T9: Send,
impl<T9, T8, T7, T6, T5, T4, T3, T2, T1, T0> Sync for Tuple10CheckError<T9, T8, T7, T6, T5, T4, T3, T2, T1, T0> where
T0: Sync,
T1: Sync,
T2: Sync,
T3: Sync,
T4: Sync,
T5: Sync,
T6: Sync,
T7: Sync,
T8: Sync,
T9: Sync,
impl<T9, T8, T7, T6, T5, T4, T3, T2, T1, T0> Unpin for Tuple10CheckError<T9, T8, T7, T6, T5, T4, T3, T2, T1, T0> where
T0: Unpin,
T1: Unpin,
T2: Unpin,
T3: Unpin,
T4: Unpin,
T5: Unpin,
T6: Unpin,
T7: Unpin,
T8: Unpin,
T9: Unpin,
impl<T9, T8, T7, T6, T5, T4, T3, T2, T1, T0> UnwindSafe for Tuple10CheckError<T9, T8, T7, T6, T5, T4, T3, T2, T1, T0> where
T0: UnwindSafe,
T1: UnwindSafe,
T2: UnwindSafe,
T3: UnwindSafe,
T4: UnwindSafe,
T5: UnwindSafe,
T6: UnwindSafe,
T7: UnwindSafe,
T8: UnwindSafe,
T9: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more