pub trait Worker {
// Required methods
fn describe(&self) -> Value;
fn prepare(
&self,
spec: &mut JobSpec,
base: &Path,
) -> Result<Box<dyn Prepared>>;
}Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".