pub trait InTerminal {
// Required methods
fn in_terminal(&self, term: Terminal) -> Self;
fn in_terminal_args<I, S>(&self, term: Terminal, args: I) -> Self
where I: IntoIterator<Item = S>,
S: AsRef<OsStr>;
}
Expand description
Allows a Command
to be executed in a terminal
Required Methods§
fn in_terminal(&self, term: Terminal) -> Self
fn in_terminal_args<I, S>(&self, term: Terminal, args: I) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.