pub trait Installation: Send + Sync {
type Error: Into<Report> + Send;
// Required method
fn install(&self) -> impl Future<Output = Result<(), Self::Error>> + Send;
}Expand description
Trait representing an installation plan for toolchain components.
Required Associated Types§
Required Methods§
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.