spin_doctor::manifest

Trait ManifestTreatment

Source
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 Treatments for app manifest problems.

Required Methods§

Source

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”.

Source

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.

Implementors§