pub trait NoWindow {
// Required method
fn no_window(&mut self) -> &mut Self;
}Expand description
Suppresses the child’s console window on Windows. A no-op elsewhere.
On Windows this calls creation_flags(CREATE_NO_WINDOW), which replaces any creation
flags set earlier on the same command (that is how creation_flags works for both std and
tokio). Call it first and OR any further flags yourself with CREATE_NO_WINDOW, or call
creation_flags(CREATE_NO_WINDOW | other) directly.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".