Trait TaskIO

Source
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§

Source

fn configure_io( _task: &mut Executable<T>, ) -> Result<(), PayloadError<ProjectError>>

During the initialization of the task, configures the inputs and outputs of the task.

Source

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.

Implementors§

Source§

impl TaskIO for Help

Source§

impl TaskIO for TaskReport

Source§

impl TaskIO for assemble_std::defaults::tasks::WrapperTask

Source§

impl TaskIO for Empty

Source§

impl TaskIO for DownloadFile

Source§

impl TaskIO for assemble_std::tasks::wrapper::WrapperTask

Source§

impl<T> TaskIO for Basic<T>
where T: Debug,