pub struct InMemmoryAnalysisStore { /* private fields */ }Implementations§
Trait Implementations§
Source§impl AnalysisStore for InMemmoryAnalysisStore
impl AnalysisStore for InMemmoryAnalysisStore
Source§fn add_search_lines(&self, lines: &[LogLine])
fn add_search_lines(&self, lines: &[LogLine])
Add a list of searched lines
Source§fn add_search_query(&self, query: &str)
fn add_search_query(&self, query: &str)
Change the search query
Source§fn get_search_query(&self) -> Option<String>
fn get_search_query(&self) -> Option<String>
Get the current search query
Source§fn fetch_log(&self) -> RwLockReadGuard<'_, RawRwLock, Vec<LogLine>>
fn fetch_log(&self) -> RwLockReadGuard<'_, RawRwLock, Vec<LogLine>>
Get a RwLock to the current processed log to avoid copying
Source§fn fetch_search(&self) -> RwLockReadGuard<'_, RawRwLock, Vec<LogLine>>
fn fetch_search(&self) -> RwLockReadGuard<'_, RawRwLock, Vec<LogLine>>
Get a RwLock to the current searched log to avoid copying
Source§fn get_log_lines(&self, from: usize, to: usize) -> Vec<LogLine>
fn get_log_lines(&self, from: usize, to: usize) -> Vec<LogLine>
Get a copy of a window of lines. Is safe to query out of bounds
Source§fn get_search_lines(&self, from: usize, to: usize) -> Vec<LogLine>
fn get_search_lines(&self, from: usize, to: usize) -> Vec<LogLine>
Get a copy of a window of search lines. Is safe to query out of bounds
Source§fn get_log_lines_containing(
&self,
index: usize,
elements: usize,
) -> (Vec<LogLine>, usize, usize)
fn get_log_lines_containing( &self, index: usize, elements: usize, ) -> (Vec<LogLine>, usize, usize)
Source§fn get_search_lines_containing(
&self,
index: usize,
elements: usize,
) -> (Vec<LogLine>, usize, usize)
fn get_search_lines_containing( &self, index: usize, elements: usize, ) -> (Vec<LogLine>, usize, usize)
Source§fn reset_search(&self)
fn reset_search(&self)
Clear the searched log
Source§fn get_total_filtered_lines(&self) -> usize
fn get_total_filtered_lines(&self) -> usize
Count the total number of lines
Source§fn get_total_searched_lines(&self) -> usize
fn get_total_searched_lines(&self) -> usize
Count the total number of search lines
Auto Trait Implementations§
impl !Freeze for InMemmoryAnalysisStore
impl !RefUnwindSafe for InMemmoryAnalysisStore
impl Send for InMemmoryAnalysisStore
impl Sync for InMemmoryAnalysisStore
impl Unpin for InMemmoryAnalysisStore
impl UnwindSafe for InMemmoryAnalysisStore
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more