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

Test whether this output stream is attached to a terminal.

This operation is also known as isatty.

Implementations on Foreign Types

Implement IsTerminal for Stdin.

Implement IsTerminal for StdinLock.

Implement IsTerminal for Stdout.

Implement IsTerminal for StdoutLock.

Implement IsTerminal for Stderr.

Implement IsTerminal for StderrLock.

Implement IsTerminal for std::fs::File.

Implement IsTerminal for std::net::TcpStream.

Implementors