pub enum CommandLineSearch {
    Prefix(String),
    Substring(String),
    Exact(String),
}
Expand description

Ways to search for a particular command line in the History

Variants

Prefix(String)

Command line starts with the same string

Substring(String)

Command line contains the string

Exact(String)

Command line is the string.

Useful to gather statistics

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.