pub enum ListSelector {
ListName(String),
ListFile(String),
DefaultList,
}
Expand description
A selector for the allowed libfunc list.
A list with one of the predfined names.
A list to be read from a file.
Gets the cli arguments of both the list name and list file and return a selector, or None if
both were supplied.
Formats the value using the given formatter.
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.
Converts the given value to a
String
.
Read more
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.