Enum BreakpointCondition
#[repr(u8)]pub enum BreakpointCondition {
InstructionExecution = 0,
DataWrites = 1,
IoReadsWrites = 2,
DataReadsWrites = 3,
}Expand description
The condition for a hardware breakpoint.
Variants§
InstructionExecution = 0
Instruction execution
DataWrites = 1
Data writes
IoReadsWrites = 2
I/O reads or writes
DataReadsWrites = 3
Data reads or writes but not instruction fetches
Implementations§
§impl BreakpointCondition
impl BreakpointCondition
pub const fn from_bits(bits: u64) -> Option<BreakpointCondition>
pub const fn from_bits(bits: u64) -> Option<BreakpointCondition>
Creates a new hardware breakpoint condition if bits is valid.
Trait Implementations§
§impl Clone for BreakpointCondition
impl Clone for BreakpointCondition
§fn clone(&self) -> BreakpointCondition
fn clone(&self) -> BreakpointCondition
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 BreakpointCondition
§impl Debug for BreakpointCondition
impl Debug for BreakpointCondition
impl Eq for BreakpointCondition
§impl PartialEq for BreakpointCondition
impl PartialEq for BreakpointCondition
impl StructuralPartialEq for BreakpointCondition
Auto Trait Implementations§
impl Freeze for BreakpointCondition
impl RefUnwindSafe for BreakpointCondition
impl Send for BreakpointCondition
impl Sync for BreakpointCondition
impl Unpin for BreakpointCondition
impl UnsafeUnpin for BreakpointCondition
impl UnwindSafe for BreakpointCondition
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more