[−][src]Struct unix_exec_piper::ProcessState
Process state. Describes the state of the child processes
created per invocation of execute_piped_cmd_chain()
.
Implementations
impl ProcessState
[src]
pub fn new(executable: String, pid: i32) -> Self
[src]
Constructor.
pub fn finish(&mut self, exit_code: i32)
[src]
Updates the struct.
pub fn pid(&self) -> i32
[src]
Getter for pid.
pub fn finished(&self) -> bool
[src]
Getter for finished. If false process is still running.
pub fn exit_code(&self) -> i32
[src]
Getter for exit_code.
pub fn executable(&self) -> &str
[src]
Getter for executable.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ProcessState
impl Send for ProcessState
impl Sync for ProcessState
impl Unpin for ProcessState
impl UnwindSafe for ProcessState
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>,