[−][src]Struct checked_command::CheckedChild
A wrapper around std::process::Child
which hides the original wait/wait_with_output methods
and replaces it with the versions from checked_command::ChildExt
Methods
impl CheckedChild[src]
pub fn as_std_command(&mut self) -> &mut Child[src]
returns a mutable reference to the wrapped child
pub fn into_std_command(self) -> Child[src]
converts the checked child into a std::process::Child
note that a Into<Child> implementation is not provided.
pub fn stdin(&mut self) -> &mut Option<ChildStdin>[src]
return a optional &mut to the childs Stding
pub fn stdout(&mut self) -> &mut Option<ChildStdout>[src]
return a optional &mut to the childs Stding
pub fn stderr(&mut self) -> &mut Option<ChildStderr>[src]
return a optional &mut to the childs Stding
pub fn kill(&mut self) -> Result<(), IoError>[src]
calls std::process::Child::kill
pub fn id(&self) -> u32[src]
calls std::process::Child::id
pub fn wait(&mut self) -> Result<(), Error>[src]
calls ChildExt::checked_wait on the wrapped Child
pub fn wait_with_output(self) -> Result<Output, Error>[src]
calls ChildExt::checked_wait_with_output on the wrapped Child
Trait Implementations
impl Debug for CheckedChild[src]
impl From<Child> for CheckedChild[src]
fn from(child: Child) -> CheckedChild[src]
Auto Trait Implementations
impl RefUnwindSafe for CheckedChild
impl Send for CheckedChild
impl Sync for CheckedChild
impl Unpin for CheckedChild
impl UnwindSafe for CheckedChild
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, 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>,