[][src]Function serde_scan::next_line

pub fn next_line<T: DeserializeOwned>() -> Result<T, ScanError>

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

Extra data not needed for parsing T is thrown out.