useasync_trait::async_trait;/// A job that can run asynchronously.
#[async_trait]pubtraitRun{/// The type of input request to the job.
typeRequest;/// The type of output response from the job.
typeResponse;/// The type of shared resources that the job may access to perform its
/// work.
typeResources;/// The type of error that can occur when executing the work of the job.
typeError;/// Runs the job.
async fnrun(req:&Self::Request,
rsrcs:&mutSelf::Resources,
)->Result<Self::Response, Self::Error>;}