pub struct AsyncEvent { /* private fields */ }Available on crate features
windows and events-driver only.Expand description
An asynchronous variant of Event.
See AsyncEvent::new.
Implementations§
Source§impl AsyncEvent
impl AsyncEvent
Sourcepub fn new(initial_state: bool) -> Result<AsyncEvent>
pub fn new(initial_state: bool) -> Result<AsyncEvent>
Trait Implementations§
Source§impl Drop for AsyncEvent
impl Drop for AsyncEvent
Source§impl RawEvent for AsyncEvent
impl RawEvent for AsyncEvent
impl Send for AsyncEvent
impl Sync for AsyncEvent
Auto Trait Implementations§
impl Freeze for AsyncEvent
impl !RefUnwindSafe for AsyncEvent
impl Unpin for AsyncEvent
impl !UnwindSafe for AsyncEvent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more