pub struct Handle { /* private fields */ }Expand description
Struct wrapping a [HANDLE] to an Event Object.
Implementations§
Source§impl Handle
impl Handle
Sourcepub fn wait_for_event(&self, timeout_ms: u32) -> Result<(), WasapiError>
pub fn wait_for_event(&self, timeout_ms: u32) -> Result<(), WasapiError>
Wait for an event on a handle, with a timeout given in ms
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Handle
impl RefUnwindSafe for Handle
impl !Send for Handle
impl !Sync for Handle
impl Unpin for Handle
impl UnwindSafe for Handle
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