useasync_trait::async_trait;/// A trait for job whose cached response can be retrieved from [Rsrcs].
#[async_trait]pubtraitGetCache{/// 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 retrieve a
/// cached response.
typeResources;/// The type of error that can occur when retrieving a cached response.
typeError;/// Try to get a cached version of the response.
async fnget_cached(req:&Self::Request,
rsrcs:&mutSelf::Resources,
)->Result<Option<Self::Response>, Self::Error>;}