Enum bytecheck::Tuple2CheckError
source · pub enum Tuple2CheckError<T1, T0> {
T1(T1),
T0(T0),
}
Expand description
An error resulting from an invalid tuple.
Variants§
Trait Implementations§
source§impl<T1: Display + Debug, T0: Display + Debug> Error for Tuple2CheckError<T1, T0>
impl<T1: Display + Debug, T0: Display + Debug> Error for Tuple2CheckError<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()