Trait IsTerminal

pub trait IsTerminal: Sealed

Trait to determine if a descriptor/handle refers to a terminal/tty.

Required Methods

fn is_terminal(&self) -> bool

Returns true if the descriptor/handle refers to a terminal/tty.

Implementors