pub trait ActionHandler {
Show 66 methods
// Required methods
fn execute_query(&mut self) -> bool;
fn toggle_multiline(&mut self) -> bool;
fn expand_select_star(&mut self) -> bool;
fn search_history(&mut self) -> bool;
fn previous_history(&mut self) -> bool;
fn next_history(&mut self) -> bool;
fn autocomplete(&mut self) -> bool;
fn toggle_help(&mut self) -> bool;
fn toggle_debug(&mut self) -> bool;
fn toggle_case_insensitive(&mut self) -> bool;
fn enter_results_mode(&mut self) -> bool;
fn exit_app(&mut self) -> bool;
fn next_buffer(&mut self) -> bool;
fn previous_buffer(&mut self) -> bool;
fn quick_switch_buffer(&mut self) -> bool;
fn new_buffer(&mut self) -> bool;
fn close_buffer(&mut self) -> bool;
fn list_buffers(&mut self) -> bool;
fn move_cursor_left(&mut self) -> bool;
fn move_cursor_right(&mut self) -> bool;
fn move_cursor_up(&mut self) -> bool;
fn move_cursor_down(&mut self) -> bool;
fn move_to_line_start(&mut self) -> bool;
fn move_to_line_end(&mut self) -> bool;
fn move_word_backward(&mut self) -> bool;
fn move_word_forward(&mut self) -> bool;
fn delete_char_backward(&mut self) -> bool;
fn delete_char_forward(&mut self) -> bool;
fn delete_word_backward(&mut self) -> bool;
fn delete_word_forward(&mut self) -> bool;
fn kill_line_forward(&mut self) -> bool;
fn kill_line_backward(&mut self) -> bool;
fn yank(&mut self) -> bool;
fn undo(&mut self) -> bool;
fn redo(&mut self) -> bool;
fn insert_char(&mut self, c: char) -> bool;
fn move_row_up(&mut self) -> bool;
fn move_row_down(&mut self) -> bool;
fn move_column_left(&mut self) -> bool;
fn move_column_right(&mut self) -> bool;
fn page_up(&mut self) -> bool;
fn page_down(&mut self) -> bool;
fn go_to_first_row(&mut self) -> bool;
fn go_to_last_row(&mut self) -> bool;
fn go_to_first_column(&mut self) -> bool;
fn go_to_last_column(&mut self) -> bool;
fn toggle_compact_mode(&mut self) -> bool;
fn toggle_row_numbers(&mut self) -> bool;
fn jump_to_row(&mut self) -> bool;
fn pin_column(&mut self) -> bool;
fn clear_pins(&mut self) -> bool;
fn start_search(&mut self) -> bool;
fn start_column_search(&mut self) -> bool;
fn start_filter(&mut self) -> bool;
fn start_fuzzy_filter(&mut self) -> bool;
fn next_search_result(&mut self) -> bool;
fn previous_search_result(&mut self) -> bool;
fn sort_by_column(&mut self) -> bool;
fn show_column_stats(&mut self) -> bool;
fn toggle_selection_mode(&mut self) -> bool;
fn yank_selection(&mut self) -> bool;
fn export_csv(&mut self) -> bool;
fn export_json(&mut self) -> bool;
fn back_to_command(&mut self) -> bool;
fn apply_search(&mut self) -> bool;
fn cancel_search(&mut self) -> bool;
}
Expand description
Trait that the TUI must implement to handle actions