pub trait InitializeTask<T: Task = Self> {
// Provided method
fn initialize(
_task: &mut Executable<T>,
_project: &Project,
) -> ProjectResult { ... }
}
Expand description
Trait to implement to initialize a task after it’s been wrapped in an Executable
Provided Methods§
Sourcefn initialize(_task: &mut Executable<T>, _project: &Project) -> ProjectResult
fn initialize(_task: &mut Executable<T>, _project: &Project) -> ProjectResult
Initialize tasks
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.