Struct dialog::backends::Stdio

source ·
pub struct Stdio {}
Expand description

The fallback backend using standard input and output.

This backend is intended as a fallback backend to use if no other backend is available. The dialogs are printed to the standard output and user input is read from the standard input.

Implementations

Creates a new Stdio instance.

Trait Implementations

Converts this type into a shared reference of the (usually inferred) input type.
Shows the given input dialog and returns the input.
Shows the given message dialog.
Shows the given password dialog and returns the password.
Shows the given question dialog and returns the choice.
Formats the value using the given formatter. Read more

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.