ActionHandler

Trait ActionHandler 

Source
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

Required Methods§

Source

fn execute_query(&mut self) -> bool

Source

fn toggle_multiline(&mut self) -> bool

Source

fn expand_select_star(&mut self) -> bool

Source

fn search_history(&mut self) -> bool

Source

fn previous_history(&mut self) -> bool

Source

fn next_history(&mut self) -> bool

Source

fn autocomplete(&mut self) -> bool

Source

fn toggle_help(&mut self) -> bool

Source

fn toggle_debug(&mut self) -> bool

Source

fn toggle_case_insensitive(&mut self) -> bool

Source

fn enter_results_mode(&mut self) -> bool

Source

fn exit_app(&mut self) -> bool

Source

fn next_buffer(&mut self) -> bool

Source

fn previous_buffer(&mut self) -> bool

Source

fn quick_switch_buffer(&mut self) -> bool

Source

fn new_buffer(&mut self) -> bool

Source

fn close_buffer(&mut self) -> bool

Source

fn list_buffers(&mut self) -> bool

Source

fn move_cursor_left(&mut self) -> bool

Source

fn move_cursor_right(&mut self) -> bool

Source

fn move_cursor_up(&mut self) -> bool

Source

fn move_cursor_down(&mut self) -> bool

Source

fn move_to_line_start(&mut self) -> bool

Source

fn move_to_line_end(&mut self) -> bool

Source

fn move_word_backward(&mut self) -> bool

Source

fn move_word_forward(&mut self) -> bool

Source

fn delete_char_backward(&mut self) -> bool

Source

fn delete_char_forward(&mut self) -> bool

Source

fn delete_word_backward(&mut self) -> bool

Source

fn delete_word_forward(&mut self) -> bool

Source

fn kill_line_forward(&mut self) -> bool

Source

fn kill_line_backward(&mut self) -> bool

Source

fn yank(&mut self) -> bool

Source

fn undo(&mut self) -> bool

Source

fn redo(&mut self) -> bool

Source

fn insert_char(&mut self, c: char) -> bool

Source

fn move_row_up(&mut self) -> bool

Source

fn move_row_down(&mut self) -> bool

Source

fn move_column_left(&mut self) -> bool

Source

fn move_column_right(&mut self) -> bool

Source

fn page_up(&mut self) -> bool

Source

fn page_down(&mut self) -> bool

Source

fn go_to_first_row(&mut self) -> bool

Source

fn go_to_last_row(&mut self) -> bool

Source

fn go_to_first_column(&mut self) -> bool

Source

fn go_to_last_column(&mut self) -> bool

Source

fn toggle_compact_mode(&mut self) -> bool

Source

fn toggle_row_numbers(&mut self) -> bool

Source

fn jump_to_row(&mut self) -> bool

Source

fn pin_column(&mut self) -> bool

Source

fn clear_pins(&mut self) -> bool

Source

fn start_filter(&mut self) -> bool

Source

fn start_fuzzy_filter(&mut self) -> bool

Source

fn next_search_result(&mut self) -> bool

Source

fn previous_search_result(&mut self) -> bool

Source

fn sort_by_column(&mut self) -> bool

Source

fn show_column_stats(&mut self) -> bool

Source

fn toggle_selection_mode(&mut self) -> bool

Source

fn yank_selection(&mut self) -> bool

Source

fn export_csv(&mut self) -> bool

Source

fn export_json(&mut self) -> bool

Source

fn back_to_command(&mut self) -> bool

Implementors§