RawEvent

Trait RawEvent 

Source
pub trait RawEvent {
    // Required method
    unsafe fn raw_event(&self) -> HANDLE;
}
Available on crate feature windows only.
Expand description

Trait that indicates a type that encapsulates an event.

Required Methods§

Source

unsafe fn raw_event(&self) -> HANDLE

Access the underlying raw handle for the event.

§Safety

Caller must ensure that the raw handle stays alive for the duration of whatever its being associated with.

Implementors§

Source§

impl RawEvent for AsyncEvent

Available on crate feature events-driver only.
Source§

impl RawEvent for Event