pub enum BreakCondition {
Instructions = 0,
DataWrites = 1,
IoReadsWrites = 2,
DataReadsWrites = 3,
}
Expand description
Specifies the breakpoint condition for a corresponding breakpoint.
Variants§
Instructions = 0
00 — Break on instruction execution only.
DataWrites = 1
01 — Break on data writes only.
IoReadsWrites = 2
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 = 3
11 — Break on data reads or writes but not instruction fetches.
Trait Implementations§
Source§impl Clone for BreakCondition
impl Clone for BreakCondition
Source§fn clone(&self) -> BreakCondition
fn clone(&self) -> BreakCondition
Returns a copy 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 BreakCondition
impl Debug for BreakCondition
Source§impl PartialEq for BreakCondition
impl PartialEq for BreakCondition
impl Copy for BreakCondition
impl Eq for BreakCondition
impl StructuralPartialEq for BreakCondition
Auto Trait Implementations§
impl Freeze for BreakCondition
impl RefUnwindSafe for BreakCondition
impl Send for BreakCondition
impl Sync for BreakCondition
impl Unpin for BreakCondition
impl UnwindSafe for BreakCondition
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