pub trait HitActionContext {
// Required methods
fn hide_frontend(&self);
fn refresh_frontend(&self);
fn exit(&self);
fn restart(&self);
fn set_query(&self, query: RString);
fn clear_caches(&self);
}
Expand description
Abstracts interaction between a hit action and the frontend.
Required Methods§
sourcefn hide_frontend(&self)
fn hide_frontend(&self)
Asks the frontend to hide.
sourcefn refresh_frontend(&self)
fn refresh_frontend(&self)
Asks the frontend to query again.
Useful if the plugin just did something that changes the results of the next query.
sourcefn clear_caches(&self)
fn clear_caches(&self)
Clears caches in the entire application.