pub fn from_stdin() -> io::Result<Self> {
        let mut line = String::new();
        std::io::stdin().read_line(&mut line)?;
        line.parse()
            .map_err(|x| io::Error::new(io::ErrorKind::InvalidData, x))
    }
/// Loads session from the next line available in this program's stdin
Loads session from the next line available in this program's stdin
Loads session from the next line available in this program ' s stdin
pub fn from_stdin() -> io::Result<Self> {
        let mut line = String::new();
        std::io::stdin().read_line(&mut line)?;
        line.parse()
            .map_err(|x| io::Error::new(io::ErrorKind::InvalidData, x))
    }
pub fn from_stdin ( ) -> io :: Result < Self > { let mut line = String :: new ( ) ; std :: io :: stdin ( ) . read_line ( & mut line ) ? ; line . parse ( ) . map_err ( | x | io :: Error :: new ( io :: ErrorKind :: InvalidData , x ) ) }
Loads session from the next line available in this program's stdin
Loads session from the next line available in this program ' s stdin