#[repr(u32)]pub enum QueueUserAPCFlags {
None = 0,
Special = 1,
CallbackDataContext = 65_536,
}Expand description
Flags controlling user-mode asynchronous procedure call (APC) behavior.
Variants§
None = 0
No flags. Queues a regular user-mode APC; the target thread must enter
an alertable wait (Thread::alert) before the APC is executed.
Special = 1
Queues a special user-mode APC. Unlike regular APCs, the thread does not need to enter an alertable state; the APC fires on the thread’s next transition to user mode.
CallbackDataContext = 65_536
The APC callback receives the full processor context (register state) that was active when the thread was interrupted to service the APC.
(see (ApcCallbackDataContext)
Trait Implementations§
Source§impl Clone for QueueUserAPCFlags
impl Clone for QueueUserAPCFlags
Source§fn clone(&self) -> QueueUserAPCFlags
fn clone(&self) -> QueueUserAPCFlags
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for QueueUserAPCFlags
impl Debug for QueueUserAPCFlags
Source§impl Hash for QueueUserAPCFlags
impl Hash for QueueUserAPCFlags
Source§impl Ord for QueueUserAPCFlags
impl Ord for QueueUserAPCFlags
Source§fn cmp(&self, other: &QueueUserAPCFlags) -> Ordering
fn cmp(&self, other: &QueueUserAPCFlags) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for QueueUserAPCFlags
impl PartialEq for QueueUserAPCFlags
Source§impl PartialOrd for QueueUserAPCFlags
impl PartialOrd for QueueUserAPCFlags
impl Copy for QueueUserAPCFlags
impl Eq for QueueUserAPCFlags
impl StructuralPartialEq for QueueUserAPCFlags
Auto Trait Implementations§
impl Freeze for QueueUserAPCFlags
impl RefUnwindSafe for QueueUserAPCFlags
impl Send for QueueUserAPCFlags
impl Sync for QueueUserAPCFlags
impl Unpin for QueueUserAPCFlags
impl UnsafeUnpin for QueueUserAPCFlags
impl UnwindSafe for QueueUserAPCFlags
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