pub trait RunTyped<B: NixBackend>: Run<B> {
type Output;
type TypedError: 'static + Error + Send + Sync;
// Required method
fn run_typed<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
backend: &'life1 B,
nix_args: &'life2 NixArgs,
) -> Pin<Box<dyn Future<Output = Result<Self::Output, Self::TypedError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
}Expand description
Specialized version of Run that guarantees an associated type as output