Enum win32console::console::HandleType [−][src]
#[repr(u32)]
pub enum HandleType {
Input,
Output,
Error,
}
Expand description
Type of a console handle, you can use this enum to get a handle by calling: get_std_handle
.
Example
use win32console::console::{WinConsole, HandleType};
let handle = WinConsole::get_std_handle(HandleType::Input).unwrap();
assert!(handle.is_valid());
Variants
Represents the STD_INPUT_HANDLE
.
Represents the STD_OUTPUT_HANDLE
.
Represents the STD_ERROR_HANDLE
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for HandleType
impl Send for HandleType
impl Sync for HandleType
impl Unpin for HandleType
impl UnwindSafe for HandleType
Blanket Implementations
Mutably borrows from an owned value. Read more