Function crossterm_winapi::result[][src]

pub fn result(return_value: BOOL) -> Result<()>

Get the result of a call to WinAPI as an io::Result.