StdQuestionBuilder

Type Alias StdQuestionBuilder 

Source
pub type StdQuestionBuilder<T> = QuestionBuilder<T, Stdin, Stdout>;
Expand description

Question in the standard input/output of the current process.

Aliased Type§

pub struct StdQuestionBuilder<T> { /* private fields */ }

Trait Implementations§

Source§

impl<T> Default for StdQuestionBuilder<T>
where T: FromStr + Send + Sync, <T as FromStr>::Err: Send + Sync + Error + 'static,

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<T, F, E> From<F> for StdQuestionBuilder<T>
where F: Fn(&str) -> Result<T, E> + Send + Sync + 'static, E: Error + Send + Sync + 'static,

§Constructors

Source§

fn from(parser: F) -> Self

Converts to this type from the input type.