pub struct TracedChild { /* private fields */ }Expand description
Root-process control handle whose wait state is owned by the tracer.
Implementations§
Source§impl TracedChild
impl TracedChild
pub fn id(&self) -> u32
pub fn try_wait_code(&self) -> Result<Option<i32>>
pub fn kill(&mut self) -> Result<()>
pub fn take_stdin(&mut self) -> Option<ChildStdin>
pub fn take_stdout(&mut self) -> Option<ChildStdout>
pub fn take_stderr(&mut self) -> Option<ChildStderr>
Auto Trait Implementations§
impl Freeze for TracedChild
impl RefUnwindSafe for TracedChild
impl Send for TracedChild
impl Sync for TracedChild
impl Unpin for TracedChild
impl UnsafeUnpin for TracedChild
impl UnwindSafe for TracedChild
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more