pub trait IntoWorkloadTrySystem<Views, R> {
    fn into_workload_try_system<Ok, Err: Into<Box<dyn Error + Send + Sync>>>(
        self
    ) -> Result<WorkloadSystem, InvalidSystem>
    where
        R: Into<Result<Ok, Err>>
; }
Expand description

Trait used to add fallible systems to a workload.

Required Methods

Wraps a fallible function in a struct containing all information required by a workload.
The workload will stop if an error is returned.

Implementors