pub struct HEVENT(/* private fields */);
Available on crate feature
kernel
only.Expand description
Handle to a named or unnamed
event
object. Originally just a HANDLE
.
Trait Implementations§
source§impl Handle for HEVENT
impl Handle for HEVENT
source§unsafe fn from_ptr(p: *mut c_void) -> Self
unsafe fn from_ptr(p: *mut c_void) -> Self
Creates a new handle object by wrapping a pointer. Read more
source§unsafe fn as_mut(&mut self) -> &mut *mut c_void
unsafe fn as_mut(&mut self) -> &mut *mut c_void
Returns a mutable reference to the underlying raw pointer. Read more
source§impl PartialEq for HEVENT
impl PartialEq for HEVENT
source§impl kernel_Hevent for HEVENT
impl kernel_Hevent for HEVENT
source§fn CreateEvent(
security_attributes: Option<&mut SECURITY_ATTRIBUTES<'_>>,
manual_reset: bool,
initial_state: bool,
name: Option<&str>
) -> SysResult<CloseHandleGuard<HEVENT>>
fn CreateEvent( security_attributes: Option<&mut SECURITY_ATTRIBUTES<'_>>, manual_reset: bool, initial_state: bool, name: Option<&str> ) -> SysResult<CloseHandleGuard<HEVENT>>
CreateEvent
function.source§fn CreateEventEx(
security_attributes: Option<&mut SECURITY_ATTRIBUTES<'_>>,
name: Option<&str>,
flags: CREATE_EVENT,
desired_access: EVENT_RIGHTS
) -> SysResult<CloseHandleGuard<HEVENT>>
fn CreateEventEx( security_attributes: Option<&mut SECURITY_ATTRIBUTES<'_>>, name: Option<&str>, flags: CREATE_EVENT, desired_access: EVENT_RIGHTS ) -> SysResult<CloseHandleGuard<HEVENT>>
CreateEventEx
method.source§fn OpenEvent(
&self,
desired_access: EVENT_RIGHTS,
inherit_handle: bool,
name: &str
) -> SysResult<CloseHandleGuard<HEVENT>>
fn OpenEvent( &self, desired_access: EVENT_RIGHTS, inherit_handle: bool, name: &str ) -> SysResult<CloseHandleGuard<HEVENT>>
OpenEvent
function.source§fn PulseEvent(&self) -> SysResult<()>
fn PulseEvent(&self) -> SysResult<()>
PulseEvent
function.source§fn ResetEvent(&self) -> SysResult<()>
fn ResetEvent(&self) -> SysResult<()>
ResetEvent
function.source§fn WaitForSingleObject(&self, milliseconds: Option<u32>) -> SysResult<WAIT>
fn WaitForSingleObject(&self, milliseconds: Option<u32>) -> SysResult<WAIT>
WaitForSingleObject
function.impl Eq for HEVENT
impl Send for HEVENT
impl StructuralPartialEq for HEVENT
Auto Trait Implementations§
impl Freeze for HEVENT
impl RefUnwindSafe for HEVENT
impl !Sync for HEVENT
impl Unpin for HEVENT
impl UnwindSafe for HEVENT
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