pub trait CommandFgControlExt {
// Required methods
fn take_foreground(&mut self);
fn lead_session(&mut self);
}Available on Unix only.
Expand description
Extension trait for arranging for commands to take the foreground.
Required Methods§
Sourcefn take_foreground(&mut self)
fn take_foreground(&mut self)
Arranges for the command to take the foreground when it is executed.
Sourcefn lead_session(&mut self)
fn lead_session(&mut self)
Arranges for the command to become a session leader when it is executed.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".