Struct gpiocdev_uapi::v2::UnderReadError
source · [−]Expand description
A failure to read sufficient bytes to construct an object.
Fields
obj: String
The struct that under read.
expected: usize
The number of bytes expected.
found: usize
The number of bytes read.
Implementations
sourceimpl UnderReadError
impl UnderReadError
Trait Implementations
sourceimpl Clone for UnderReadError
impl Clone for UnderReadError
sourcefn clone(&self) -> UnderReadError
fn clone(&self) -> UnderReadError
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 UnderReadError
impl Debug for UnderReadError
sourceimpl Display for UnderReadError
impl Display for UnderReadError
sourceimpl Error for UnderReadError
impl Error for UnderReadError
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<UnderReadError> for Error
impl From<UnderReadError> for Error
sourcefn from(source: UnderReadError) -> Self
fn from(source: UnderReadError) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<UnderReadError> for UnderReadError
impl PartialEq<UnderReadError> for UnderReadError
sourcefn eq(&self, other: &UnderReadError) -> bool
fn eq(&self, other: &UnderReadError) -> bool
impl Eq for UnderReadError
impl StructuralEq for UnderReadError
impl StructuralPartialEq for UnderReadError
Auto Trait Implementations
impl RefUnwindSafe for UnderReadError
impl Send for UnderReadError
impl Sync for UnderReadError
impl Unpin for UnderReadError
impl UnwindSafe for UnderReadError
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