pub(crate) trait CommandExt {
// Required methods
fn map_opt<T>(
&mut self,
b: Option<&T>,
f: impl FnOnce(&T, &mut Self),
) -> &mut Self;
fn run(&mut self) -> Result<()>;
fn run_with_cargo_metadata(&mut self) -> Result<Vec<Artifact>>;
}
Required Methods§
fn map_opt<T>( &mut self, b: Option<&T>, f: impl FnOnce(&T, &mut Self), ) -> &mut Self
fn run(&mut self) -> Result<()>
fn run_with_cargo_metadata(&mut self) -> Result<Vec<Artifact>>
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.