Trait OsEventBacked

Source
pub trait OsEventBacked {
    // Required methods
    fn os_event(&self) -> Option<&Event>;
    fn signal(&self);
}
Expand description

Represents an object that may or may not be backed by an OS event, and can also be signaled manually.

Required Methods§

Source

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

Gets the OS event associated with this object, if any.

Source

fn signal(&self)

Signals the object manually.

Implementations on Foreign Types§

Source§

impl OsEventBacked for Interrupt

Implementors§