#[non_exhaustive]pub enum StoppedEventReason {
Step,
Breakpoint,
Exception,
Pause,
Entry,
Goto,
FunctionBreakpoint,
DataBreakpoint,
InstructionBreakpoint,
Unknown,
}
Expand description
The reason for the event.
For backward compatibility this string is shown in the UI if the description
attribute is missing (but it must not be translated).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Step
Breakpoint
Exception
Pause
Entry
Goto
FunctionBreakpoint
DataBreakpoint
InstructionBreakpoint
Unknown
Trait Implementations§
Source§impl Clone for StoppedEventReason
impl Clone for StoppedEventReason
Source§fn clone(&self) -> StoppedEventReason
fn clone(&self) -> StoppedEventReason
Returns a duplicate 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 StoppedEventReason
impl Debug for StoppedEventReason
Source§impl<'de> Deserialize<'de> for StoppedEventReason
impl<'de> Deserialize<'de> for StoppedEventReason
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for StoppedEventReason
impl Hash for StoppedEventReason
Source§impl PartialEq for StoppedEventReason
impl PartialEq for StoppedEventReason
Source§impl Serialize for StoppedEventReason
impl Serialize for StoppedEventReason
impl Eq for StoppedEventReason
impl StructuralPartialEq for StoppedEventReason
Auto Trait Implementations§
impl Freeze for StoppedEventReason
impl RefUnwindSafe for StoppedEventReason
impl Send for StoppedEventReason
impl Sync for StoppedEventReason
impl Unpin for StoppedEventReason
impl UnwindSafe for StoppedEventReason
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