Structs

Allows direct modifications of rustyline::Editor. Stored as Arc<Mutex<Option<rustyline::Editor<()>>>>.

Enums

Enum for specifying separators for ask_many and its variations.

Traits

Base trait for all types that can be asked for input.

Functions

Ask the user for a value of type T.

Ask the user for multiple values of type T separated by delimiter.

Ask the user for multiple values of type T. The user is prompted repeatedly until all values can be parsed. Shortcircuits if the user enters an empty string

Ask the user for multiple values of type T. Unparseable values are represented as None.

Ask the user for multiple values of type T. The user is prompted repeatedly until all values are parseable.

Ask the user for a value of type T. The user is prompted repeatedly until a valid value is provided. Shortcircuits if the user enters an empty string.

Ask the user for a value of type T. The user is prompted repeatedly until a valid value is provided.

Modifies the behaviour of quotes (“”) inside ask_many.

Type Definitions

Result wrapper containing InterviewError.