pub struct ExternallyManagedPortIoIntercepts;
Expand description
A zero sized type that has a no-op impl
of RegisterPortIoIntercept
.
As the name suggests, this type should be used when a ChipsetDevice
is
hosted outside of a traditional “chipset” context, where some external code
is responsible for managing the device’s port IO intercepts.
That said, if you find yourself reaching for this type (outside the context of a test), you’re probably doing something wrong. Consider implementing a proper chipset to host the device on instead.
Trait Implementations§
source§impl RegisterPortIoIntercept for ExternallyManagedPortIoIntercepts
impl RegisterPortIoIntercept for ExternallyManagedPortIoIntercepts
source§fn new_io_region(
&mut self,
_region_name: &str,
_len: u16,
) -> Box<dyn ControlPortIoIntercept>
fn new_io_region( &mut self, _region_name: &str, _len: u16, ) -> Box<dyn ControlPortIoIntercept>
Registers a new IO region of the given length.
Auto Trait Implementations§
impl Freeze for ExternallyManagedPortIoIntercepts
impl RefUnwindSafe for ExternallyManagedPortIoIntercepts
impl Send for ExternallyManagedPortIoIntercepts
impl Sync for ExternallyManagedPortIoIntercepts
impl Unpin for ExternallyManagedPortIoIntercepts
impl UnwindSafe for ExternallyManagedPortIoIntercepts
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