Trait sui::shell::AsyncHandler
source · pub trait AsyncHandler<T: Send> {
// Required method
fn handle_async<'life0, 'life1, 'async_trait>(
&'life0 self,
args: Vec<String>,
state: &'life1 mut T,
completion_cache: CompletionCache
) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}