Enum chipset_device::io::IoError
source · pub enum IoError {
InvalidRegister,
InvalidAccessSize,
UnalignedAccess,
}
Expand description
An error related to the suitability of the IO request for the device. A
device should handle device-specific errors internally, and should return
IoResult::Ok
in these conditions.
Variants§
InvalidRegister
The requested device register is not present.
InvalidAccessSize
The access length is invalid for the specified address.
UnalignedAccess
The caller attempted to perform an unaligned access to the device registers.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IoError
impl RefUnwindSafe for IoError
impl Send for IoError
impl Sync for IoError
impl Unpin for IoError
impl UnwindSafe for IoError
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