pub trait TaskIO<T = Self>where
T: Task,{
// Provided methods
fn configure_io(
_task: &mut Executable<T>,
) -> Result<(), PayloadError<ProjectError>> { ... }
fn recover_outputs(
&mut self,
_output: &Output,
) -> Result<(), PayloadError<ProjectError>> { ... }
}
Expand description
Configures the inputs and outputs of a task
Provided Methods§
Sourcefn configure_io(
_task: &mut Executable<T>,
) -> Result<(), PayloadError<ProjectError>>
fn configure_io( _task: &mut Executable<T>, ) -> Result<(), PayloadError<ProjectError>>
During the initialization of the task, configures the inputs and outputs of the task.
Sourcefn recover_outputs(
&mut self,
_output: &Output,
) -> Result<(), PayloadError<ProjectError>>
fn recover_outputs( &mut self, _output: &Output, ) -> Result<(), PayloadError<ProjectError>>
Recovers outputs from previous run if up-to-date
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.