Function uquery::parsable_with_default [−][src]
pub fn parsable_with_default<T: FromStr + Display>(
text: &str,
def: T
) -> QueryResult<T>
Expand description
Queries the user for input of any time that implements FromStr
and Display
Errors
Fails on io errors with the stdin and stdout.