#[repr(i32)]pub enum TraceFlag {
Unspecified = 0,
ThreadReadied = 1,
KernelStackSwappedOut = 2,
ProcessAddressSwappedOut = 4,
}
Variants§
Unspecified = 0
ThreadReadied = 1
The thread has been readied from DPC (deferred procedure call).
KernelStackSwappedOut = 2
The kernel stack is currently swapped out.
ProcessAddressSwappedOut = 4
The process address space is swapped out.
Implementations§
Source§impl TraceFlag
impl TraceFlag
Sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
Sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
Source§impl Ord for TraceFlag
impl Ord for TraceFlag
Source§impl PartialOrd for TraceFlag
impl PartialOrd for TraceFlag
impl Copy for TraceFlag
impl Eq for TraceFlag
impl StructuralPartialEq for TraceFlag
Auto Trait Implementations§
impl Freeze for TraceFlag
impl RefUnwindSafe for TraceFlag
impl Send for TraceFlag
impl Sync for TraceFlag
impl Unpin for TraceFlag
impl UnwindSafe for TraceFlag
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