pub enum BreakpointType {
Execute = 0,
Invalid = 1,
Write = 2,
ReadOrWrite = 3,
}
Expand description
A hardware breakpoint type.
Variants§
Execute = 0
Break on execute. Size should be BreakpointSize::Byte
.
Invalid = 1
Invalid type, not used on x86.
Write = 2
Break on write.
ReadOrWrite = 3
Break on read or write.
Trait Implementations§
Source§impl Clone for BreakpointType
impl Clone for BreakpointType
Source§fn clone(&self) -> BreakpointType
fn clone(&self) -> BreakpointType
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 BreakpointType
impl Debug for BreakpointType
Source§impl DefaultEncoding for BreakpointType
impl DefaultEncoding for BreakpointType
Source§impl<'encoding, AnyR: 'static> OneofDecode<'encoding, AnyR> for BreakpointType
impl<'encoding, AnyR: 'static> OneofDecode<'encoding, AnyR> for BreakpointType
Source§fn read_variant(
item: &mut InplaceOption<'_, Self>,
n: u32,
field: FieldReader<'encoding, '_, AnyR>,
) -> Result<()>
fn read_variant( item: &mut InplaceOption<'_, Self>, n: u32, field: FieldReader<'encoding, '_, AnyR>, ) -> Result<()>
Read the specified variant from the reader.
Source§impl<AnyR: 'static> OneofEncode<AnyR> for BreakpointType
impl<AnyR: 'static> OneofEncode<AnyR> for BreakpointType
Source§fn write_variant(self, writer: MessageWriter<'_, '_, AnyR>)
fn write_variant(self, writer: MessageWriter<'_, '_, AnyR>)
Write the variant to the writer.
Source§fn compute_variant_size(&mut self, sizer: MessageSizer<'_>)
fn compute_variant_size(&mut self, sizer: MessageSizer<'_>)
Compute the size of the variant.
Source§impl PartialEq for BreakpointType
impl PartialEq for BreakpointType
impl Copy for BreakpointType
impl Eq for BreakpointType
impl StructuralPartialEq for BreakpointType
Auto Trait Implementations§
impl Freeze for BreakpointType
impl RefUnwindSafe for BreakpointType
impl Send for BreakpointType
impl Sync for BreakpointType
impl Unpin for BreakpointType
impl UnwindSafe for BreakpointType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> MeshField for T
impl<T> MeshField for T
§impl<T> MeshPayload for T
impl<T> MeshPayload for T
§impl<T> Protobuf for Twhere
T: DefaultEncoding,
<T as DefaultEncoding>::Encoding: MessageEncode<T, NoResources> + for<'a> MessageDecode<'a, T, NoResources> + FieldEncode<T, NoResources> + for<'a> FieldDecode<'a, T, NoResources>,
impl<T> Protobuf for Twhere
T: DefaultEncoding,
<T as DefaultEncoding>::Encoding: MessageEncode<T, NoResources> + for<'a> MessageDecode<'a, T, NoResources> + FieldEncode<T, NoResources> + for<'a> FieldDecode<'a, T, NoResources>,
§impl<T> SerializeMessage for Twhere
T: 'static + MeshPayload + Send,
impl<T> SerializeMessage for Twhere
T: 'static + MeshPayload + Send,
§fn compute_message_size(&mut self, sizer: MessageSizer<'_>)
fn compute_message_size(&mut self, sizer: MessageSizer<'_>)
Computes the message size, as in [
MessageEncode::compute_message_size
].§fn write_message(self, writer: MessageWriter<'_, '_, Resource>)
fn write_message(self, writer: MessageWriter<'_, '_, Resource>)
Writes the message, as in [
MessageEncode::write_message
].