[−][src]Struct unix_exec_piper::CmdChain
A command chain is the unit that gets executed. It's basically a parsed form of:
ps
ls -l
cat < in.txt | tee file.txt | wc -l > out.txt &
It knows whether it should put the started process(es) in background or in foreground (blocking/waiting when executed).
Implementations
impl CmdChain
[src]
pub fn background(&self) -> bool
[src]
Getter for background.
pub fn cmds(&self) -> &Vec<BasicCmd>
[src]
Getter for cmds.
pub fn length(&self) -> usize
[src]
Getter for cmds.len().
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CmdChain
impl Send for CmdChain
impl Sync for CmdChain
impl Unpin for CmdChain
impl UnwindSafe for CmdChain
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>,