Enum tvis_util::Handle
[−]
[src]
#[repr(u32)]pub enum Handle { Stdin, Stdout, Stderr, }
An abstract handle to a standard input or output stream.
Variants
Stdin
Stdout
Stderr
Methods
impl Handle
[src]
fn fd(self) -> i32
[src]
The raw fd for the given handle
.
fn terminal_mode(self) -> TerminalMode
[src]
The TerminalMode
for the given handle
.
Trait Implementations
impl Clone for Handle
[src]
fn clone(&self) -> Handle
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for Handle
[src]
impl Debug for Handle
[src]
impl PartialEq for Handle
[src]
fn eq(&self, __arg_0: &Handle) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.