Struct bytecheck::TupleStructCheckError
source · pub struct TupleStructCheckError {
pub field_index: usize,
pub inner: ErrorBox<dyn Error>,
}
Expand description
An error resulting from an invalid tuple struct.
Fields§
§field_index: usize
The index of the struct field that was invalid
inner: ErrorBox<dyn Error>
The error that occurred while validating the field
Trait Implementations§
source§impl Debug for TupleStructCheckError
impl Debug for TupleStructCheckError
source§impl Display for TupleStructCheckError
impl Display for TupleStructCheckError
source§impl Error for TupleStructCheckError
impl Error for TupleStructCheckError
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 Freeze for TupleStructCheckError
impl !RefUnwindSafe for TupleStructCheckError
impl !Send for TupleStructCheckError
impl !Sync for TupleStructCheckError
impl Unpin for TupleStructCheckError
impl !UnwindSafe for TupleStructCheckError
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