pub trait SyncInvocable {
// Required method
fn invoke<'async_trait>(
self,
) -> Pin<Box<dyn Future<Output = Result<RawOutput, CommandErrorWrapper>> + Send + 'async_trait>>
where Self: 'async_trait;
}Expand description
Trait that defines “synchronously” invokable processes.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".