Trait vga_proxy::RegisterHostIoPortFastPath

source ·
pub trait RegisterHostIoPortFastPath {
    // Required method
    fn register(&self, range: RangeInclusive<u16>) -> Box<dyn Send>;
}
Expand description

Trait for registering host IO ports.

Required Methods§

source

fn register(&self, range: RangeInclusive<u16>) -> Box<dyn Send>

Registers ports in range to go directly to the host.

When the return value is dropped, the ports will be unregistered.

Implementors§