Struct conch_runtime::spawn::SimpleCommand [] [src]

#[must_use = "futures do nothing unless polled"]
pub struct SimpleCommand<R, V, W, IV, IW, E: ?Sized> where
    R: RedirectEval<E>,
    V: Hash + Eq,
    W: WordEval<E>,
    E: ExportedVariableEnvironment + FileDescEnvironment + FunctionEnvironment + SetArgumentsEnvironment,
    E::Fn: Spawn<E>, 
{ /* fields omitted */ }

A future representing the spawning of a simple or regular command.

Trait Implementations

impl<R, V, W, IV, IW, S, E: ?Sized> Debug for SimpleCommand<R, V, W, IV, IW, E> where
    R: RedirectEval<E>,
    R::EvalFuture: Debug,
    V: Hash + Eq + Debug,
    W: WordEval<E>,
    W::EvalFuture: Debug,
    W::EvalResult: Debug,
    IV: Debug,
    IW: Debug,
    S: Spawn<E> + Debug,
    S::EnvFuture: Debug,
    E: ExportedVariableEnvironment + FileDescEnvironment + FunctionEnvironment<Fn = S> + SetArgumentsEnvironment,
    E::Args: Debug,
    E::FileHandle: Debug,
    E::VarName: Debug,
    E::Var: Debug
[src]

[src]

Formats the value using the given formatter.

impl<R, V, W, IV, IW, E: ?Sized, S> EnvFuture<E> for SimpleCommand<R, V, W, IV, IW, E> where
    IV: Iterator<Item = RedirectOrVarAssig<R, V, W>>,
    IW: Iterator<Item = RedirectOrCmdWord<R, W>>,
    R: RedirectEval<E, Handle = E::FileHandle>,
    R::Error: From<RedirectionError>,
    V: Hash + Eq + Borrow<String>,
    W: WordEval<E>,
    S: Clone + Spawn<E>,
    S::Error: From<CommandError> + From<RedirectionError> + From<R::Error> + From<W::Error>,
    E: AsyncIoEnvironment + ExecutableEnvironment + ExportedVariableEnvironment + FileDescEnvironment + FunctionEnvironment<Fn = S> + SetArgumentsEnvironment + UnsetVariableEnvironment + WorkingDirectoryEnvironment,
    E::Arg: From<W::EvalResult>,
    E::Args: From<Vec<E::Arg>>,
    E::FileHandle: FileDescWrapper,
    E::FnName: From<W::EvalResult>,
    E::VarName: Borrow<String> + Clone + From<V>,
    E::Var: Borrow<String> + Clone + From<W::EvalResult>, 
[src]

The type of value that this future will resolved with if it is successful. Read more

The type of error that this future will resolve with if it fails in a normal fashion. Read more

[src]

Behaves identical to Future::poll when polled with a provided environment. Read more

[src]

Cancel a future and consider it as completed, thus giving it a chance to run any clean up as if it had resolved on its own. Read more

[src]

Pin an environment to this future, allowing the resulting future to be polled from anywhere without needing the caller to specify an environment. Read more

[src]

Fuse a future such that poll and cancel will never again be called once it has completed. Read more

[src]

Converts the resulting future into a boxed trait object. Read more