Function serde_scan::next_line

source ·
pub fn next_line<T: DeserializeOwned>() -> Result<T, ScanError>
Expand description

Get a line of input from stdin, and parse it.

Extra data not needed for parsing T is thrown out.