pub struct InMemmoryProcessingStore { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Default for InMemmoryProcessingStore
impl Default for InMemmoryProcessingStore
Source§impl ProcessingStore for InMemmoryProcessingStore
impl ProcessingStore for InMemmoryProcessingStore
Source§fn get_format(&self, id: &str) -> Option<String>
fn get_format(&self, id: &str) -> Option<String>
Get the format data for the requested format alias
Source§fn get_formats(&self) -> Vec<Format>
fn get_formats(&self) -> Vec<Format>
Get a list of formats
Source§fn add_filter(
&self,
id: String,
filter: LogLine,
action: FilterAction,
enabled: bool,
)
fn add_filter( &self, id: String, filter: LogLine, action: FilterAction, enabled: bool, )
Add a new filter to the store Read more
Source§fn get_filters(&self) -> Vec<(bool, Filter)>
fn get_filters(&self) -> Vec<(bool, Filter)>
Get a list of filters together with their enabled state
Source§fn toggle_filter(&self, id: &str)
fn toggle_filter(&self, id: &str)
Switch the enabled state for the given filter
Auto Trait Implementations§
impl !Freeze for InMemmoryProcessingStore
impl !RefUnwindSafe for InMemmoryProcessingStore
impl Send for InMemmoryProcessingStore
impl Sync for InMemmoryProcessingStore
impl Unpin for InMemmoryProcessingStore
impl UnwindSafe for InMemmoryProcessingStore
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