Trait Provider
Source pub trait Provider: Send + Sync {
// Required methods
fn name(&self) -> &str;
fn description(&self) -> &str;
fn position(&self) -> i32;
fn get<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
message: &'life1 Value,
state: &'life2 Value,
service: Option<&'life3 ShellService>,
) -> Pin<Box<dyn Future<Output = ProviderResult> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait;
}