Struct usiem_basic_parser::BasicParserComponent [−][src]
Implementations
impl BasicParserComponent
[src]
pub fn new() -> BasicParserComponent
[src]
pub fn add_parser(&mut self, parser: Box<dyn LogParser>)
[src]
Trait Implementations
impl SiemComponent for BasicParserComponent
[src]
fn name(&self) -> Cow<'static, str>
[src]
fn local_channel(&self) -> Sender<SiemMessage>
[src]
fn set_log_channel(
&mut self,
log_sender: Sender<SiemLog>,
receiver: Receiver<SiemLog>
)
[src]
&mut self,
log_sender: Sender<SiemLog>,
receiver: Receiver<SiemLog>
)
fn set_kernel_sender(&mut self, sender: Sender<SiemMessage>)
[src]
fn run(&mut self)
[src]
Execute the logic of this component in an infinite loop. Must be stopped using Commands sent using the channel.
fn set_storage(&mut self, conn: Box<dyn SiemComponentStateStorage>)
[src]
Allow to store information about this component like the state or conigurations.
fn capabilities(&self) -> SiemComponentCapabilities
[src]
Capabilities and actions that can be performed on this component
Auto Trait Implementations
impl !RefUnwindSafe for BasicParserComponent
impl !Send for BasicParserComponent
impl !Sync for BasicParserComponent
impl Unpin for BasicParserComponent
impl !UnwindSafe for BasicParserComponent
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,