pub type PluginFuture<'a> = Pin<Box<dyn Future<Output = Result<(), Box<dyn Error + Send + Sync>>> + Send + 'a>>;Expand description
The return type for all plugin hooks. A boxed async future that returns
Result<(), Box<dyn Error>>. Use Box::pin(async move { ... }) to create one.
Aliased Type§
pub struct PluginFuture<'a> { /* private fields */ }