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
sourceimpl<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>
sourceimpl<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 · 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<T3, T2, T1, T0> RefUnwindSafe for Tuple4CheckError<T3, T2, T1, T0> where
T0: RefUnwindSafe,
T1: RefUnwindSafe,
T2: RefUnwindSafe,
T3: RefUnwindSafe,
impl<T3, T2, T1, T0> Send for Tuple4CheckError<T3, T2, T1, T0> where
T0: Send,
T1: Send,
T2: Send,
T3: Send,
impl<T3, T2, T1, T0> Sync for Tuple4CheckError<T3, T2, T1, T0> where
T0: Sync,
T1: Sync,
T2: Sync,
T3: Sync,
impl<T3, T2, T1, T0> Unpin for Tuple4CheckError<T3, T2, T1, T0> where
T0: Unpin,
T1: Unpin,
T2: Unpin,
T3: Unpin,
impl<T3, T2, T1, T0> UnwindSafe for Tuple4CheckError<T3, T2, T1, T0> where
T0: UnwindSafe,
T1: UnwindSafe,
T2: UnwindSafe,
T3: 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