pub enum RustHookEvent {
Call,
Return,
TailCall,
Line(u32),
Count,
}Expand description
Classified debug event delivered to a RustDebugHook.
Variants§
Call
Function entry (hook_call analogue).
Return
Function return (hook_return analogue).
TailCall
Tail call entry (PUC 5.2+ separates this from a plain Call).
Line(u32)
Source-line change (the u32 is the 1-based line number).
Count
Instruction count event (fires every count_base instructions).
Trait Implementations§
Source§impl Clone for RustHookEvent
impl Clone for RustHookEvent
Source§fn clone(&self) -> RustHookEvent
fn clone(&self) -> RustHookEvent
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 RustHookEvent
Source§impl Debug for RustHookEvent
impl Debug for RustHookEvent
impl Eq for RustHookEvent
Source§impl PartialEq for RustHookEvent
impl PartialEq for RustHookEvent
Source§fn eq(&self, other: &RustHookEvent) -> bool
fn eq(&self, other: &RustHookEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RustHookEvent
Auto Trait Implementations§
impl Freeze for RustHookEvent
impl RefUnwindSafe for RustHookEvent
impl Send for RustHookEvent
impl Sync for RustHookEvent
impl Unpin for RustHookEvent
impl UnsafeUnpin for RustHookEvent
impl UnwindSafe for RustHookEvent
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