pub struct CmdChain { /* private fields */ }
Expand description
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§
Trait Implementations§
Source§impl Builder<CmdChain> for CmdChainBuilder
impl Builder<CmdChain> for CmdChainBuilder
Auto Trait Implementations§
impl Freeze for CmdChain
impl RefUnwindSafe for CmdChain
impl Send for CmdChain
impl Sync for CmdChain
impl Unpin for CmdChain
impl UnwindSafe for CmdChain
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