[][src]Struct pete::ptracer::Ptracer

pub struct Ptracer { /* fields omitted */ }

Tracer for a (possibly multi-threaded) Linux process.

Implementations

impl Ptracer[src]

pub fn new() -> Self[src]

pub fn restart(&mut self, tracee: Tracee, restart: Restart) -> Result<()>[src]

Resume the stopped tracee, delivering any pending signal.

pub fn spawn(&mut self, cmd: Command) -> Result<Child>[src]

pub fn attach(&mut self, pid: Pid) -> Result<()>[src]

Attach to a running tracee. This will deliver a SIGSTOP.

Warning: the tracee may not be considered stopped until it has been seen to stop via wait().

pub fn wait(&mut self) -> Result<Option<Tracee>>[src]

Wait for some running tracee process to stop.

Trait Implementations

impl Clone for Ptracer[src]

impl Debug for Ptracer[src]

impl Eq for Ptracer[src]

impl PartialEq<Ptracer> for Ptracer[src]

impl StructuralEq for Ptracer[src]

impl StructuralPartialEq for Ptracer[src]

Auto Trait Implementations

impl RefUnwindSafe for Ptracer

impl Send for Ptracer

impl Sync for Ptracer

impl Unpin for Ptracer

impl UnwindSafe for Ptracer

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.