pub struct StdCommandConfigurator { /* private fields */ }
Expand description
A simple Configurator that takes the most common parameters
Writes the input either to stdio or to a file
Use CommandExecutor::builder()
to use this configurator.
Trait Implementations
sourceimpl CommandConfigurator for StdCommandConfigurator
impl CommandConfigurator for StdCommandConfigurator
sourcefn spawn_child<I>(&mut self, input: &I) -> Result<Child, Error> where
I: Input + HasTargetBytes,
fn spawn_child<I>(&mut self, input: &I) -> Result<Child, Error> where
I: Input + HasTargetBytes,
Spawns a new process with the given configuration.
sourcefn into_executor<EM, I, OT, S, Z>(
self,
observers: OT
) -> CommandExecutor<EM, I, OT, S, Self, Z> where
OT: Debug + MatchName,
fn into_executor<EM, I, OT, S, Z>(
self,
observers: OT
) -> CommandExecutor<EM, I, OT, S, Self, Z> where
OT: Debug + MatchName,
Create an Executor
from this CommandConfigurator
.
Auto Trait Implementations
impl !RefUnwindSafe for StdCommandConfigurator
impl !Send for StdCommandConfigurator
impl !Sync for StdCommandConfigurator
impl Unpin for StdCommandConfigurator
impl !UnwindSafe for StdCommandConfigurator
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Tail, T> Prepend<T> for Tail
impl<Tail, T> Prepend<T> for Tail
type PreprendResult = Tail
type PreprendResult = Tail
The Resulting TupleList
, of an Prepend::prepend()
call,
including the prepended entry. Read more
sourcefn prepend(self, value: T) -> (T, <Tail as Prepend<T>>::PreprendResult)
fn prepend(self, value: T) -> (T, <Tail as Prepend<T>>::PreprendResult)
Prepend a value to this tuple, returning a new tuple with prepended value.