pub struct MemBackend(/* private fields */);
Expand description
An in-memory backend for correlation rules
Implementations§
Source§impl MemBackend
impl MemBackend
Trait Implementations§
Source§impl Backend for MemBackend
impl Backend for MemBackend
Source§fn register<'life0, 'life1, 'async_trait>(
&'life0 mut self,
rule: &'life1 mut CorrelationRule,
) -> Pin<Box<dyn Future<Output = Result<(), Box<dyn Error>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn register<'life0, 'life1, 'async_trait>(
&'life0 mut self,
rule: &'life1 mut CorrelationRule,
) -> Pin<Box<dyn Future<Output = Result<(), Box<dyn Error>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Register a correlation rule with the backend
Auto Trait Implementations§
impl Freeze for MemBackend
impl !RefUnwindSafe for MemBackend
impl Send for MemBackend
impl Sync for MemBackend
impl Unpin for MemBackend
impl !UnwindSafe for MemBackend
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