pub enum AttachMode {
AttachWithEnableOnExec,
StopAttachEnableResume,
}Expand description
How recording should attach to a process.
Variants§
AttachWithEnableOnExec
Attach before a not-yet-executed child is allowed to run.
StopAttachEnableResume
Briefly stop an already-running process, attach, then resume it.
Trait Implementations§
Source§impl Clone for AttachMode
impl Clone for AttachMode
Source§fn clone(&self) -> AttachMode
fn clone(&self) -> AttachMode
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 AttachMode
Source§impl Debug for AttachMode
impl Debug for AttachMode
impl Eq for AttachMode
Source§impl PartialEq for AttachMode
impl PartialEq for AttachMode
Source§fn eq(&self, other: &AttachMode) -> bool
fn eq(&self, other: &AttachMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AttachMode
Auto Trait Implementations§
impl Freeze for AttachMode
impl RefUnwindSafe for AttachMode
impl Send for AttachMode
impl Sync for AttachMode
impl Unpin for AttachMode
impl UnsafeUnpin for AttachMode
impl UnwindSafe for AttachMode
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