pub trait Terminal {
// Required method
fn is_terminal(&self) -> bool;
}
Expand description
Trait that communicates if something is terminal (eg/ requires shutdown or restart).
pub trait Terminal {
// Required method
fn is_terminal(&self) -> bool;
}
Trait that communicates if something is terminal (eg/ requires shutdown or restart).