pub enum TracerAction<T> {
TryContinue(T),
Continue(T),
Step(T),
Detach(T),
Nothing,
}
Expand description
This enum represents a generic action for the process tracing API to take along with any form of ID or handle to the underlying thread or process i.e. a PID in Unix.
Variants§
TryContinue(T)
Try continue is for times when you don’t know if there is something paused but if there is you want it to move on.
Continue(T)
Step(T)
Detach(T)
Nothing
Implementations§
Trait Implementations§
source§impl<T: Clone> Clone for TracerAction<T>
impl<T: Clone> Clone for TracerAction<T>
source§fn clone(&self) -> TracerAction<T>
fn clone(&self) -> TracerAction<T>
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<T: Debug> Debug for TracerAction<T>
impl<T: Debug> Debug for TracerAction<T>
source§impl<T: PartialEq> PartialEq for TracerAction<T>
impl<T: PartialEq> PartialEq for TracerAction<T>
impl<T: Eq> Eq for TracerAction<T>
impl<T> StructuralPartialEq for TracerAction<T>
Auto Trait Implementations§
impl<T> Freeze for TracerAction<T>where
T: Freeze,
impl<T> RefUnwindSafe for TracerAction<T>where
T: RefUnwindSafe,
impl<T> Send for TracerAction<T>where
T: Send,
impl<T> Sync for TracerAction<T>where
T: Sync,
impl<T> Unpin for TracerAction<T>where
T: Unpin,
impl<T> UnwindSafe for TracerAction<T>where
T: UnwindSafe,
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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.