Struct gpiocdev_uapi::ValidationError
source · [−]Expand description
A failure to validate a struct returned from a system call.
Fields
field: String
The field that failed to validate.
msg: String
The details of the validation failure.
Implementations
Trait Implementations
sourceimpl Clone for ValidationError
impl Clone for ValidationError
sourcefn clone(&self) -> ValidationError
fn clone(&self) -> ValidationError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ValidationError
impl Debug for ValidationError
sourceimpl Display for ValidationError
impl Display for ValidationError
sourceimpl Error for ValidationError
impl Error for ValidationError
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
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<ValidationError> for Error
impl From<ValidationError> for Error
sourcefn from(source: ValidationError) -> Self
fn from(source: ValidationError) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<ValidationError> for ValidationError
impl PartialEq<ValidationError> for ValidationError
sourcefn eq(&self, other: &ValidationError) -> bool
fn eq(&self, other: &ValidationError) -> bool
impl Eq for ValidationError
impl StructuralEq for ValidationError
impl StructuralPartialEq for ValidationError
Auto Trait Implementations
impl RefUnwindSafe for ValidationError
impl Send for ValidationError
impl Sync for ValidationError
impl Unpin for ValidationError
impl UnwindSafe for ValidationError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more