vmcore::synic

Trait EventPort

Source
pub trait EventPort: Send + Sync {
    // Required method
    fn handle_event(&self, flag: u16);

    // Provided method
    fn os_event(&self) -> Option<&Event> { ... }
}

Required Methods§

Source

fn handle_event(&self, flag: u16)

Provided Methods§

Source

fn os_event(&self) -> Option<&Event>

Implementors§