[−][src]Struct pete::ptracer::Tracee
Tracee in ptrace-stop, with an optional pending signal.
Describes how the stopped tracee would continue if it weren't traced, and thus how to restart it to resume normal execution.
The underlying tracee is not guaranteed to exist.
Fields
pid: Pid
pending: Option<Signal>
stop: Stop
Implementations
impl Tracee
[src]
pub fn new(pid: Pid, pending: impl Into<Option<Signal>>, stop: Stop) -> Self
[src]
pub fn inject(self, pending: Signal) -> Self
[src]
Set a signal to deliver to the stopped process upon restart.
pub fn suppress(self) -> Self
[src]
Remove any signal scheduled for delivery to pid
upon restart.
pub fn registers(&self) -> Result<Registers>
[src]
pub fn set_registers(&mut self, regs: Registers) -> Result<()>
[src]
Trait Implementations
impl Clone for Tracee
[src]
impl Copy for Tracee
[src]
impl Debug for Tracee
[src]
impl Eq for Tracee
[src]
impl PartialEq<Tracee> for Tracee
[src]
impl StructuralEq for Tracee
[src]
impl StructuralPartialEq for Tracee
[src]
Auto Trait Implementations
impl RefUnwindSafe for Tracee
impl Send for Tracee
impl Sync for Tracee
impl Unpin for Tracee
impl UnwindSafe for Tracee
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,