vmbus_client

Trait SynicEventClient

Source
pub trait SynicEventClient: Send + Sync {
    // Required methods
    fn map_event(&self, event_flag: u16, event: &Event) -> Result<()>;
    fn unmap_event(&self, event_flag: u16);
    fn signal_event(&self, connection_id: u32, event_flag: u16) -> Result<()>;
}
Expand description

The client interface synic events.

Required Methods§

Source

fn map_event(&self, event_flag: u16, event: &Event) -> Result<()>

Maps an incoming event signal on SINT7 to event.

Source

fn unmap_event(&self, event_flag: u16)

Unmaps an event previously mapped with map_event.

Source

fn signal_event(&self, connection_id: u32, event_flag: u16) -> Result<()>

Signals an event on the synic.

Implementors§