pub trait OnlineSourcePlugin: PluginBase {
// Provided methods
fn is_logged(&self) -> Result<bool> { ... }
fn on_login(&mut self) -> Result<()> { ... }
fn on_logout(&mut self) -> Result<()> { ... }
fn on_search(&mut self, search: &str) -> Result<Vec<SearchResult>> { ... }
fn on_search_cancel(&mut self) -> Result<()> { ... }
}Expand description
Online source plugin trait
Provided Methods§
Sourcefn on_search_cancel(&mut self) -> Result<()>
fn on_search_cancel(&mut self) -> Result<()>
Cancel ongoing search