Enum x86::debugregs::BreakCondition
source · [−]pub enum BreakCondition {
Instructions,
DataWrites,
IoReadsWrites,
DataReadsWrites,
}
Expand description
Specifies the breakpoint condition for a corresponding breakpoint.
Variants
Instructions
00 — Break on instruction execution only.
DataWrites
01 — Break on data writes only.
IoReadsWrites
10 — Break on I/O reads or writes.
Notes
For this type to be available, the DE (debug extensions) flag in control register CR4 must be set.
DataReadsWrites
11 — Break on data reads or writes but not instruction fetches.
Trait Implementations
sourceimpl Clone for BreakCondition
impl Clone for BreakCondition
sourcefn clone(&self) -> BreakCondition
fn clone(&self) -> BreakCondition
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for BreakCondition
impl Debug for BreakCondition
sourceimpl PartialEq<BreakCondition> for BreakCondition
impl PartialEq<BreakCondition> for BreakCondition
impl Copy for BreakCondition
impl Eq for BreakCondition
impl StructuralEq for BreakCondition
impl StructuralPartialEq for BreakCondition
Auto Trait Implementations
impl RefUnwindSafe for BreakCondition
impl Send for BreakCondition
impl Sync for BreakCondition
impl Unpin for BreakCondition
impl UnwindSafe for BreakCondition
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more