CmdBorrowed

Type Alias CmdBorrowed 

Source
pub type CmdBorrowed<'a> = Cmd<Cow<'a, str>>;
Expand description

A variant of the command that borrows the data and does no copying unless necessary.

Aliased Type§

pub struct CmdBorrowed<'a> {
    pub path: Cow<'a, str>,
    pub args: Vec<Cow<'a, str>>,
}

Fields§

§path: Cow<'a, str>

The path of the command to be executed.

§args: Vec<Cow<'a, str>>

Optional arguments to the command.