pub trait ManifestTreatment {
// Required methods
fn summary(&self) -> String;
fn treat_manifest<'life0, 'life1, 'async_trait>(
&'life0 self,
doc: &'life1 mut DocumentMut,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}
Expand description
ManifestTreatment helps implement Treatment
s for app manifest problems.
Required Methods§
Sourcefn summary(&self) -> String
fn summary(&self) -> String
Return a short (single line) description of what this fix will do, as an imperative, e.g. “Add default trigger config”.
Sourcefn treat_manifest<'life0, 'life1, 'async_trait>(
&'life0 self,
doc: &'life1 mut DocumentMut,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn treat_manifest<'life0, 'life1, 'async_trait>(
&'life0 self,
doc: &'life1 mut DocumentMut,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Attempt to fix this problem. See Treatment::treat
.