pub struct ReadWritePrompt<R, W> { /* private fields */ }
Expand description

Prompt which reads and writes via std::io traits.

Implementations

Trait Implementations

Returns true if the prompt is currently interactive.

Requests a response given a prompt message and optional variants.

Reports an informative or error message to the prompt.

Begins a new named scope.

Ends the current scope.

Sends a response to the prompt.

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.