Trait system_interface::io::IsTerminal [−][src]
pub trait IsTerminal { fn is_terminal(&self) -> bool; }
Expand description
Extension for I/O handles which may or may not be terminals.
Required methods
fn is_terminal(&self) -> bool
[src]
fn is_terminal(&self) -> bool
[src]Test whether this output stream is attached to a terminal.
This operation is also known as isatty
.
Implementors
impl<T> IsTerminal for T where
T: AsUnsafeHandle,
[src]
impl<T> IsTerminal for T where
T: AsUnsafeHandle,
[src]Implement IsTerminal
for types that implement AsRawFd
.