Trait Terminal

Source
pub trait Terminal {
    // Required method
    fn is_terminal(&self) -> bool;
}
Expand description

Trait that communicates if something is terminal (eg/ requires shutdown or restart).

Required Methods§

Source

fn is_terminal(&self) -> bool

Implementors§