[−][src]Function winconsole::console::get_title
pub fn get_title() -> WinResult<String>
Returns the title of the console window.
Examples
let title = console::get_title().unwrap(); println!("{}", title);
Errors
FromUtf8Error
: Returned if an error occurs while converting to a string.IoError
: Returned if an OS error occurs.