pub trait WasmDiagnostic {
type Diagnosis: Diagnosis;
// Required method
fn diagnose_wasm<'life0, 'life1, 'async_trait>(
&'life0 self,
app: &'life1 PatientApp,
wasm: PatientWasm,
) -> Pin<Box<dyn Future<Output = Result<Vec<Self::Diagnosis>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}
Expand description
WasmDiagnostic helps implement Diagnostic
for Wasm source problems.
Required Associated Types§
Required Methods§
Sourcefn diagnose_wasm<'life0, 'life1, 'async_trait>(
&'life0 self,
app: &'life1 PatientApp,
wasm: PatientWasm,
) -> Pin<Box<dyn Future<Output = Result<Vec<Self::Diagnosis>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn diagnose_wasm<'life0, 'life1, 'async_trait>(
&'life0 self,
app: &'life1 PatientApp,
wasm: PatientWasm,
) -> Pin<Box<dyn Future<Output = Result<Vec<Self::Diagnosis>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Check the given PatientWasm
, returning any problem(s) found.