pub struct HwptInvalidateError {
pub errno: Errno,
pub handled: u32,
}Expand description
Error from IommufdCtx::hwpt_invalidate, pairing the underlying ioctl
errno with the kernel’s reported handled-entry count.
Fields§
§errno: ErrnoThe underlying IOMMU_HWPT_INVALIDATE ioctl errno.
handled: u32The kernel’s in/out entry_num after the failed call: the number of
leading entries it reports as handled before the failure. See the
caveat on IommufdCtx::hwpt_invalidate — this is unreliable for early
failures and may equal the input count.
Trait Implementations§
Source§impl Debug for HwptInvalidateError
impl Debug for HwptInvalidateError
Source§impl Display for HwptInvalidateError
impl Display for HwptInvalidateError
Source§impl Error for HwptInvalidateError
impl Error for HwptInvalidateError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 HwptInvalidateError
impl RefUnwindSafe for HwptInvalidateError
impl Send for HwptInvalidateError
impl Sync for HwptInvalidateError
impl Unpin for HwptInvalidateError
impl UnsafeUnpin for HwptInvalidateError
impl UnwindSafe for HwptInvalidateError
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