[−][src]Struct pete::ptracer::Ptracer
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]
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,
pub 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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,