use std::future::Future;
use std::pin::Pin;
use crate::CommandError;
pub trait MiscAccess {
fn handle_loop<'a>(
&'a mut self,
args: &'a str,
) -> Pin<Box<dyn Future<Output = Result<String, CommandError>> + Send + 'a>>;
fn notify_test<'a>(
&'a mut self,
) -> Pin<Box<dyn Future<Output = Result<String, CommandError>> + Send + 'a>>;
fn handle_web_search<'a>(
&'a mut self,
args: &'a str,
) -> Pin<Box<dyn Future<Output = Result<String, CommandError>> + Send + 'a>> {
let _ = args;
Box::pin(async move { Ok("Web search is not supported in this context.".to_owned()) })
}
}