pub enum DebuggerPresence {
Detected,
NotDetected,
}Expand description
Presence of a debugger/tracer. The debugger being concerned is expected to use the OS API to debug this process.
Variants§
Detected
The debugger is attached to this process.
NotDetected
The debugger is not attached to this process.
Trait Implementations§
Source§impl Clone for DebuggerPresence
impl Clone for DebuggerPresence
Source§fn clone(&self) -> DebuggerPresence
fn clone(&self) -> DebuggerPresence
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DebuggerPresence
Auto Trait Implementations§
impl Freeze for DebuggerPresence
impl RefUnwindSafe for DebuggerPresence
impl Send for DebuggerPresence
impl Sync for DebuggerPresence
impl Unpin for DebuggerPresence
impl UnsafeUnpin for DebuggerPresence
impl UnwindSafe for DebuggerPresence
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