logo
pub trait ParseOptionsAdapter<'a> {
    fn src(&self) -> &'a str;
    fn key_val_delimeter(&self) -> &'a str;
    fn commands_delimeter(&self) -> &'a str;
    fn quoting(&self) -> bool;
    fn unquoting(&self) -> bool;
    fn parsing_arrays(&self) -> bool;
    fn several_values(&self) -> bool;
    fn subject_win_paths_maybe(&self) -> bool;

    fn parse(self) -> Request<'a> { ... }
}
Expand description

Adapter for ParseOptions.

Required Methods

A string to parse.

A delimeter for pairs key:value.

Delimeter for commands.

Quoting of strings.

Unquoting of string.

Parse arrays of values.

Append to a vector a values.

Parse subject on Windows taking into account colon in path.

Provided Methods

Do parsing.

Implementors