Type Alias Cmdline

Source
pub type Cmdline = Vec<CmdlineParam>;
Expand description

Represents a full or partial cmdline parameter set

Aliased Type§

pub struct Cmdline { /* private fields */ }

Trait Implementations§

Source§

impl CmdlineContent for Cmdline

Source§

fn parse(buffer: &str) -> Result<Cmdline, (usize, &'static str)>

Parses a UTF8 &str and returns a Cmdline object Read more
Source§

fn add_param(&mut self, key: String, value: Option<String>)

Adds a parameter to a Cmdline Read more
Source§

fn render(&self) -> Result<String, &'static str>

Renders a Cmdline object into a valid cmdline string Read more