Trait stak_process_context::ProcessContext

source ·
pub trait ProcessContext {
    // Required methods
    fn command_line_rev(&self) -> impl IntoIterator<Item = &str>;
    fn environment_variables(&self) -> impl IntoIterator<Item = (&str, &str)>;
}
Expand description

A process context.

Required Methods§

source

fn command_line_rev(&self) -> impl IntoIterator<Item = &str>

Returns a command name and its arguments in a reverse order.

source

fn environment_variables(&self) -> impl IntoIterator<Item = (&str, &str)>

Returns environment variables.

Object Safety§

This trait is not object safe.

Implementors§