pub struct InMemmoryProcessingStore { /* private fields */ }Implementations
Trait Implementations
sourceimpl Default for InMemmoryProcessingStore
impl Default for InMemmoryProcessingStore
sourceimpl ProcessingStore for InMemmoryProcessingStore
impl ProcessingStore for InMemmoryProcessingStore
sourcefn add_format(&self, id: String, format: String)
fn add_format(&self, id: String, format: String)
Add a new format to the store Read more
sourcefn get_format(&self, id: &str) -> Option<String>
fn get_format(&self, id: &str) -> Option<String>
Get the format data for the requested format alias
sourcefn get_formats(&self) -> Vec<Format>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
fn get_formats(&self) -> Vec<Format>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
Get a list of formats
sourcefn 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
sourcefn get_filters(&self) -> Vec<(bool, Filter)>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
fn get_filters(&self) -> Vec<(bool, Filter)>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
Get a list of filters together with their enabled state
sourcefn toggle_filter(&self, id: &str)
fn toggle_filter(&self, id: &str)
Switch the enabled state for the given filter
Auto Trait Implementations
impl !RefUnwindSafe for InMemmoryProcessingStore
impl Send for InMemmoryProcessingStore
impl Sync for InMemmoryProcessingStore
impl Unpin for InMemmoryProcessingStore
impl UnwindSafe for InMemmoryProcessingStore
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more