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§
Sourcefn map_event(&self, event_flag: u16, event: &Event) -> Result<()>
fn map_event(&self, event_flag: u16, event: &Event) -> Result<()>
Maps an incoming event signal on SINT7 to event
.
Sourcefn unmap_event(&self, event_flag: u16)
fn unmap_event(&self, event_flag: u16)
Unmaps an event previously mapped with map_event
.