pub trait Taskwhere
Self: Serialize + DeserializeOwned + Debug + Send + Sync + 'static,
Self::Output: Serialize + DeserializeOwned + Debug + Send + Sync + 'static,{
type Output;
const STAGE: &'static str;
}
Expand description
Task of a specific stage, with Output & Error defined
Required Associated Constants§
Required Associated Types§
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.