AppStateContainer

Struct AppStateContainer 

Source
pub struct AppStateContainer { /* private fields */ }
Expand description

Main application state container

Implementations§

Source§

impl AppStateContainer

Source

pub fn format_number_compact(n: usize) -> String

Format numbers in a compact way (1000 -> 1k, 1500000 -> 1.5M, etc.)

Source

pub fn new(buffers: BufferManager) -> Result<Self>

Source

pub fn current_buffer(&self) -> Option<&Buffer>

Source

pub fn current_buffer_mut(&mut self) -> Option<&mut Buffer>

Source

pub fn buffers(&self) -> &BufferManager

Source

pub fn buffers_mut(&mut self) -> &mut BufferManager

Source

pub fn command_input(&self) -> Ref<'_, InputState>

Source

pub fn command_input_mut(&self) -> RefMut<'_, InputState>

Source

pub fn set_input_text(&self, text: String)

Source

pub fn set_input_text_with_cursor(&self, text: String, cursor: usize)

Source

pub fn set_last_executed_query(&self, query: String)

Source

pub fn search(&self) -> Ref<'_, SearchState>

Source

pub fn search_mut(&self) -> RefMut<'_, SearchState>

Start a new search with the given pattern

Source

pub fn update_search_matches(&self, matches: Vec<(usize, usize, usize, usize)>)

Update search matches

Source

pub fn next_search_match(&self) -> Option<(usize, usize)>

Navigate to next search match

Source

pub fn previous_search_match(&self) -> Option<(usize, usize)>

Navigate to previous search match

Clear current search

Perform search on provided data Returns the search matches as a vector of (row, col, row_end, col_end) tuples

Source

pub fn get_current_match(&self) -> Option<(usize, usize)>

Get current search match position (for highlighting)

Source

pub fn filter(&self) -> Ref<'_, FilterState>

Source

pub fn filter_mut(&self) -> RefMut<'_, FilterState>

Source

pub fn column_search_mut(&self) -> RefMut<'_, ColumnSearchState>

Start column search with pattern

Source

pub fn update_column_search_matches( &self, columns: &[(String, usize)], pattern: &str, ) -> Vec<(usize, String)>

Update column search matches

Source

pub fn next_column_match(&self) -> Option<(usize, String)>

Navigate to next column match

Source

pub fn previous_column_match(&self) -> Option<(usize, String)>

Navigate to previous column match

Clear column search

Source

pub fn accept_column_match(&self) -> Option<(usize, String)>

Accept current column match

Source

pub fn sort_by_column( &self, column_index: usize, column_name: String, row_count: usize, )

Sort by column

Source

pub fn clear_sort(&self)

Clear all sorting

Source

pub fn sort(&self) -> Ref<'_, SortState>

Get current sort state

Source

pub fn get_next_sort_order(&self, column_index: usize) -> SortOrder

Get next sort order for a column

Source

pub fn advance_sort_state( &self, column_index: usize, column_name: Option<String>, new_order: SortOrder, )

Advance the sort state for a column

Source

pub fn selection(&self) -> Ref<'_, SelectionState>

Get current selection state (read-only) - DEPRECATED: Will be removed after migration

Source

pub fn selection_mut(&self) -> RefMut<'_, SelectionState>

Get current selection state (mutable) - DEPRECATED: Will be removed after migration

Source

pub fn selection_proxy(&self) -> SelectionProxy<'_>

NEW: Proxy-based selection access (single source of truth)

Source

pub fn selection_proxy_mut(&mut self) -> SelectionProxyMut<'_>

Source

pub fn set_selection_mode(&self, mode: SelectionMode)

Set selection mode

Source

pub fn select_row(&self, row: Option<usize>)

Select a row

Source

pub fn select_column(&self, column: usize)

Select a column

Source

pub fn select_cell(&self, row: usize, column: usize)

Select a cell

Source

pub fn toggle_selection_mode(&self)

Toggle selection mode between Row/Cell/Column

Source

pub fn clear_selections(&self)

Clear all selections

Source

pub fn get_selection_mode(&self) -> SelectionMode

Get current selection mode

Source

pub fn get_selected_row(&self) -> Option<usize>

Get selected row

Source

pub fn get_selected_column(&self) -> usize

Get selected column

Source

pub fn get_current_position(&self) -> (usize, usize)

Get the current selected position from NavigationState This is the primary source of truth for cursor position

Source

pub fn sync_selection_with_navigation(&self)

Sync selection state with navigation position Called when navigation changes to update selection tracking

Source

pub fn handle_yank_by_mode(&self) -> Option<String>

Handle yank chord based on selection mode Returns the action taken for status messaging

Source

pub fn get_table_selected_row(&self) -> Option<usize>

Get the selected row for table widget (ratatui compatibility)

Source

pub fn set_table_selected_row(&self, row: Option<usize>)

Set the selected row (updates navigation state)

Source

pub fn get_current_column(&self) -> usize

Get the current column index

Source

pub fn set_current_column(&self, column: usize)

Set the current column index

Source

pub fn completion(&self) -> Ref<'_, CompletionState>

Source

pub fn completion_mut(&self) -> RefMut<'_, CompletionState>

Source

pub fn clear_completion(&self)

Source

pub fn set_completion_suggestions(&self, suggestions: Vec<String>)

Source

pub fn next_completion(&self)

Source

pub fn get_current_completion(&self) -> Option<String>

Source

pub fn is_completion_active(&self) -> bool

Source

pub fn update_completion_context(&self, query: String, cursor_pos: usize)

Source

pub fn is_same_completion_context(&self, query: &str, cursor_pos: usize) -> bool

Source

pub fn update_history_search_with_schema( &self, query: String, columns: &[String], source: Option<&str>, )

Update history search with schema context (columns and source)

Source

pub fn history_search_add_char(&self, c: char)

Handle character input during history search

Source

pub fn history_search_backspace(&self)

Handle backspace during history search

Source

pub fn history_search_next(&self)

Source

pub fn history_search_previous(&self)

Source

pub fn get_selected_history_command(&self) -> Option<String>

Source

pub fn is_history_search_active(&self) -> bool

Source

pub fn navigate_to(&self, row: usize, col: usize)

Source

pub fn navigate_relative(&self, delta_row: i32, delta_col: i32)

Source

pub fn navigate_to_row(&self, row: usize)

Source

pub fn navigate_to_column(&self, col: usize)

Source

pub fn update_data_size(&self, rows: usize, columns: usize)

Source

pub fn set_viewport_size(&self, rows: usize, columns: usize)

Source

pub fn toggle_viewport_lock(&self)

Source

pub fn toggle_cursor_lock(&self)

Source

pub fn is_cursor_locked(&self) -> bool

Source

pub fn navigation(&self) -> Ref<'_, NavigationState>

Source

pub fn navigation_mut(&self) -> RefMut<'_, NavigationState>

Source

pub fn navigation_proxy(&self) -> NavigationProxy<'_>

Source

pub fn navigation_proxy_mut(&mut self) -> NavigationProxyMut<'_>

Source

pub fn get_scroll_offset(&self) -> (usize, usize)

Source

pub fn is_viewport_locked(&self) -> bool

Source

pub fn set_results( &self, results: QueryResponse, execution_time: Duration, from_cache: bool, ) -> Result<()>

Set query results with comprehensive logging and performance tracking

Source

pub fn get_results(&self) -> Option<QueryResponse>

Get current query results

Source

pub fn cache_results( &self, query_key: String, results: QueryResponse, ) -> Result<()>

Cache query results with logging

Source

pub fn get_cached_results(&self, query_key: &str) -> Option<QueryResponse>

Get cached results with access tracking

Source

pub fn clear_results_cache(&self)

Clear results cache

Source

pub fn clipboard(&self) -> Ref<'_, ClipboardState>

Get clipboard state (read-only)

Source

pub fn clipboard_mut(&self) -> RefMut<'_, ClipboardState>

Get clipboard state (mutable)

Source

pub fn chord(&self) -> Ref<'_, ChordState>

Get chord state (read-only)

Source

pub fn chord_mut(&self) -> RefMut<'_, ChordState>

Get chord state (mutable)

Source

pub fn undo_redo(&self) -> Ref<'_, UndoRedoState>

Get undo/redo state (read-only)

Source

pub fn undo_redo_mut(&self) -> RefMut<'_, UndoRedoState>

Get undo/redo state (mutable)

Source

pub fn scroll(&self) -> Ref<'_, ScrollState>

Get scroll state (read-only)

Source

pub fn scroll_mut(&self) -> RefMut<'_, ScrollState>

Get scroll state (mutable)

Source

pub fn yank_cell( &self, row: usize, column: usize, value: String, preview: String, ) -> Result<()>

Yank a cell to clipboard

Source

pub fn yank_row(&self, row: usize, value: String, preview: String) -> Result<()>

Yank a row to clipboard

Source

pub fn yank_column( &self, column_name: String, column_index: usize, value: String, preview: String, ) -> Result<()>

Yank a column to clipboard

Source

pub fn yank_all(&self, value: String, preview: String) -> Result<()>

Yank all data to clipboard

Source

pub fn yank_test_case(&self, value: String) -> Result<()>

Yank a test case to clipboard

Source

pub fn yank_debug_context(&self, value: String) -> Result<()>

Yank debug context to clipboard

Source

pub fn clear_clipboard(&self)

Clear clipboard

Source

pub fn get_clipboard_stats(&self) -> String

Get clipboard statistics for debug display

Source

pub fn read_from_clipboard(&self) -> Result<String>

Read from system clipboard

Source

pub fn write_to_clipboard(&self, text: &str) -> Result<()>

Write to system clipboard without tracking

Source

pub fn get_results_stats(&self) -> (CacheStats, PerformanceStats)

Get comprehensive results statistics

Source

pub fn is_results_from_cache(&self) -> bool

Check if current results are from cache

Source

pub fn get_last_execution_time(&self) -> Duration

Get last query execution time

Source

pub fn get_results_memory_usage(&self) -> (usize, usize)

Get memory usage information

Source

pub fn widgets(&self) -> &WidgetStates

Source

pub fn widgets_mut(&mut self) -> &mut WidgetStates

Source

pub fn cache_list(&self) -> &CacheListState

Source

pub fn cache_list_mut(&mut self) -> &mut CacheListState

Source

pub fn column_stats(&self) -> &ColumnStatsState

Source

pub fn column_stats_mut(&mut self) -> &mut ColumnStatsState

Source

pub fn jump_to_row(&self) -> &JumpToRowState

Source

pub fn jump_to_row_mut(&mut self) -> &mut JumpToRowState

Source

pub fn command_history(&self) -> Ref<'_, CommandHistory>

Source

pub fn command_history_mut(&self) -> RefMut<'_, CommandHistory>

Source

pub fn results_cache(&self) -> &ResultsCache

Source

pub fn results_cache_mut(&mut self) -> &mut ResultsCache

Source

pub fn current_mode(&self) -> AppMode

Source

pub fn enter_mode(&mut self, mode: AppMode) -> Result<()>

Source

pub fn exit_mode(&mut self) -> Result<AppMode>

Source

pub fn toggle_debug(&mut self)

Source

pub fn set_debug_service(&self, debug_service: DebugService)

Set the debug service for logging (can be called through Arc due to RefCell)

Source

pub fn is_debug_enabled(&self) -> bool

Source

pub fn toggle_help(&self)

Source

pub fn is_help_visible(&self) -> bool

Source

pub fn set_help_visible(&self, visible: bool)

Source

pub fn help_scroll_down(&self)

Scroll help down by one line

Source

pub fn help_scroll_up(&self)

Scroll help up by one line

Source

pub fn help_page_down(&self)

Page down in help (10 lines)

Source

pub fn help_page_up(&self)

Page up in help (10 lines)

Source

pub fn set_help_max_scroll(&self, content_lines: usize, viewport_height: usize)

Set maximum scroll for help based on content

Source

pub fn help_scroll_offset(&self) -> u16

Get current help scroll offset

Source

pub fn help_state(&self) -> Ref<'_, HelpState>

Get help state for debugging

Source

pub fn log_key_press(&self, key: KeyEvent, action: Option<String>)

Source

pub fn clear_key_history(&self)

Source

pub fn normalize_key(&self, key: KeyEvent) -> KeyEvent

Normalize a key event for platform-specific differences This handles cases like Windows sending Shift+$ instead of just $ and platform differences in how Shift+Arrow keys are reported

Source

pub fn debug_dump(&self) -> String

Generate comprehensive debug dump for F5

Source

pub fn pretty_print(&self) -> String

Pretty print the state for debugging

Source

pub fn delegated_selected_row(&self) -> Option<usize>

Get selected row from current buffer

Source

pub fn set_delegated_selected_row(&mut self, row: Option<usize>)

Set selected row in current buffer

Source

pub fn delegated_current_column(&self) -> usize

Get current column from current buffer

Source

pub fn set_delegated_current_column(&mut self, col: usize)

Set current column in current buffer

Source

pub fn delegated_scroll_offset(&self) -> (usize, usize)

Get scroll offset from current buffer

Source

pub fn set_delegated_scroll_offset(&mut self, offset: (usize, usize))

Set scroll offset in current buffer

Source

pub fn delegated_search_pattern(&self) -> String

Get search pattern from current buffer

Source

pub fn set_delegated_search_pattern(&mut self, pattern: String)

Set search pattern in current buffer

Source

pub fn delegated_search_matches(&self) -> Vec<(usize, usize)>

Get search matches from current buffer

Source

pub fn set_delegated_search_matches(&mut self, matches: Vec<(usize, usize)>)

Set search matches in current buffer

Source

pub fn delegated_filter_pattern(&self) -> String

Get filter pattern from current buffer

Source

pub fn set_delegated_filter_pattern(&mut self, pattern: String)

Set filter pattern in current buffer

Source

pub fn delegated_filter_active(&self) -> bool

Check if filter is active in current buffer

Source

pub fn set_delegated_filter_active(&mut self, active: bool)

Set filter active state in current buffer

Source

pub fn delegated_sort_column(&self) -> Option<usize>

Get sort column from current buffer

Source

pub fn set_delegated_sort_column(&mut self, column: Option<usize>)

Set sort column in current buffer

Source

pub fn delegated_sort_order(&self) -> SortOrder

Get sort order from current buffer

Source

pub fn set_delegated_sort_order(&mut self, order: SortOrder)

Set sort order in current buffer

Source

pub fn set_mode(&mut self, mode: AppMode)

Set the current mode (proxy to Buffer)

Source

pub fn get_mode(&self) -> AppMode

Get the current mode (proxy to Buffer)

Source

pub fn set_status_message(&mut self, message: String)

Set status message (proxy to Buffer)

Source

pub fn get_status_message(&self) -> String

Get status message (proxy to Buffer)

Source

pub fn set_dataview(&mut self, dataview: Option<DataView>)

Set dataview (proxy to Buffer)

Source

pub fn get_dataview(&self) -> Option<&DataView>

Get dataview (proxy to Buffer)

Source

pub fn set_last_results_row(&mut self, row: Option<usize>)

Set last results row (proxy to Buffer)

Source

pub fn set_last_scroll_offset(&mut self, offset: (usize, usize))

Set last scroll offset (proxy to Buffer)

Source

pub fn get_input_text(&self) -> String

Get input text (proxy to Buffer)

Source

pub fn get_input_cursor_position(&self) -> usize

Get input cursor position (proxy to Buffer)

Source

pub fn get_last_query(&self) -> String

Get last query (proxy to Buffer)

Source

pub fn is_buffer_modified(&self) -> bool

Check if buffer is modified (proxy to Buffer)

Source

pub fn set_buffer_modified(&mut self, modified: bool)

Set buffer modified state (proxy to Buffer)

Source

pub fn get_buffer_dataview(&self) -> Option<&DataView>

Get dataview (proxy to Buffer) - returns reference

Source

pub fn get_buffer_dataview_mut(&mut self) -> Option<&mut DataView>

Get mutable dataview (proxy to Buffer)

Source

pub fn get_original_source(&self) -> Option<&DataTable>

Get original source DataTable (proxy to Buffer)

Source

pub fn has_dataview(&self) -> bool

Check if buffer has dataview (proxy to Buffer)

Source

pub fn is_case_insensitive(&self) -> bool

Check if case insensitive mode (proxy to Buffer)

Source

pub fn get_edit_mode(&self) -> Option<EditMode>

Get edit mode (proxy to Buffer)

Source

pub fn is_show_row_numbers(&self) -> bool

Check if show row numbers (proxy to Buffer)

Source

pub fn is_compact_mode(&self) -> bool

Check if compact mode (proxy to Buffer)

Source

pub fn set_input_cursor_position(&mut self, pos: usize)

Set input cursor position (proxy to Buffer)

Source

pub fn set_search_pattern(&mut self, pattern: String)

Set search pattern (proxy to Buffer)

Source

pub fn set_filter_pattern(&mut self, pattern: String)

Set filter pattern (proxy to Buffer)

Source

pub fn set_fuzzy_filter_pattern(&mut self, pattern: String)

Set fuzzy filter pattern (proxy to Buffer)

Source

pub fn set_fuzzy_filter_active(&mut self, active: bool)

Set fuzzy filter active (proxy to Buffer)

Source

pub fn is_fuzzy_filter_active(&self) -> bool

Is fuzzy filter active (proxy to Buffer)

Source

pub fn set_fuzzy_filter_indices(&mut self, indices: Vec<usize>)

Set fuzzy filter indices (proxy to Buffer)

Source

pub fn is_kill_ring_empty(&self) -> bool

Is kill ring empty (proxy to Buffer)

Source

pub fn set_selected_row(&mut self, row: Option<usize>)

Set selected row (proxy to Buffer)

Source

pub fn set_buffer_input_text(&mut self, text: String)

Set input text (proxy to Buffer) - properly syncs both buffer and command_input

Source

pub fn get_buffer_input_text(&self) -> String

Get input text (proxy to Buffer)

Source

pub fn set_buffer_input_text_with_cursor(&mut self, text: String, cursor: usize)

Set input text with cursor position (proxy to Buffer) - properly syncs both

Source

pub fn set_current_column_buffer(&mut self, col: usize)

Set current column (proxy to Buffer)

Source

pub fn set_show_row_numbers(&mut self, show: bool)

Set show row numbers (proxy to Buffer)

Source

pub fn set_filter_active(&mut self, active: bool)

Set filter active (proxy to Buffer)

Source

pub fn set_compact_mode(&mut self, compact: bool)

Set compact mode (proxy to Buffer)

Source

pub fn set_case_insensitive(&mut self, insensitive: bool)

Set case insensitive (proxy to Buffer)

Source

pub fn get_buffer_selected_row(&self) -> Option<usize>

Get selected row from buffer (proxy to Buffer)

Source

pub fn get_search_pattern(&self) -> String

Get search pattern from buffer (proxy to Buffer)

Source

pub fn get_fuzzy_filter_pattern(&self) -> String

Get fuzzy filter pattern (proxy to Buffer)

Source

pub fn vim_search_should_handle_key(&self) -> bool

Check if vim search should handle the current key

Start vim search mode

Exit vim search mode

Source

pub fn get_fuzzy_filter_indices(&self) -> Vec<usize>

Get fuzzy filter indices (proxy to Buffer)

Source

pub fn set_scroll_offset(&mut self, offset: (usize, usize))

Set scroll offset (proxy to Buffer)

Source

pub fn save_state_for_undo(&mut self)

Save state for undo (proxy to Buffer)

Source

pub fn perform_undo(&mut self) -> bool

Perform undo (proxy to Buffer)

Source

pub fn perform_redo(&mut self) -> bool

Perform redo (proxy to Buffer)

Source

pub fn insert_char_at_cursor(&mut self, c: char)

Insert character at cursor position

Source

pub fn handle_input_key(&mut self, key: KeyEvent) -> bool

Handle input key (proxy to Buffer)

Source

pub fn set_search_matches_with_index( &mut self, matches: Vec<(usize, usize)>, index: usize, )

Set search matches and update state

Source

pub fn clear_search_state(&mut self)

Clear search state completely

Source

pub fn set_last_state( &mut self, row: Option<usize>, scroll_offset: (usize, usize), )

Set last state (results row and scroll offset)

Source

pub fn clear_line(&mut self)

Clear line - save undo state and clear input (grouped operation)

Source

pub fn move_input_cursor_left(&mut self)

Move cursor left (grouped operation)

Source

pub fn move_input_cursor_right(&mut self)

Move cursor right (grouped operation)

Source

pub fn backspace(&mut self)

Backspace operation (grouped)

Source

pub fn delete(&mut self)

Delete character at cursor (grouped)

Source

pub fn reset_navigation_state(&mut self)

Reset navigation state (grouped operation)

Source

pub fn clear_fuzzy_filter_state(&mut self)

Clear fuzzy filter (grouped operation)

Source

pub fn get_filter_pattern(&self) -> String

Get filter pattern (proxy to Buffer)

Source

pub fn set_column_stats(&mut self, stats: Option<ColumnStatistics>)

Set column statistics (proxy to Buffer)

Source

pub fn set_column_widths(&mut self, widths: Vec<u16>)

Set column widths (proxy to Buffer)

Source

pub fn set_current_match(&mut self, match_pos: Option<(usize, usize)>)

Set current match (proxy to Buffer)

Source

pub fn get_kill_ring(&self) -> String

Get kill ring (proxy to Buffer)

Source

pub fn get_buffer_status_message(&self) -> String

Get status message (proxy to Buffer)

Source

pub fn get_buffer_name(&self) -> String

Get buffer name (proxy to Buffer)

Source

pub fn get_last_results_row(&self) -> Option<usize>

Get last results row (proxy to Buffer)

Source

pub fn get_last_scroll_offset(&self) -> (usize, usize)

Get last scroll offset (proxy to Buffer)

Source

pub fn set_last_query(&mut self, query: String)

Set last query (proxy to Buffer)

Source

pub fn get_last_query_source(&self) -> Option<String>

Get last query source (proxy to Buffer)

Source

pub fn set_last_visible_rows(&mut self, rows: usize)

Set last visible rows (proxy to Buffer)

Trait Implementations§

Source§

impl Debug for AppStateContainer

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for AppStateContainer

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> ErasedDestructor for T
where T: 'static,