pub struct DummyParserError { /* private fields */ }Expand description
Parser that always returns a parser error
Implementations§
Trait Implementations§
Source§impl Clone for DummyParserError
impl Clone for DummyParserError
Source§fn clone(&self) -> DummyParserError
fn clone(&self) -> DummyParserError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for DummyParserError
impl Default for DummyParserError
Source§impl LogParser for DummyParserError
impl LogParser for DummyParserError
Source§fn parse_log(
&self,
log: SiemLog,
_datasets: &DatasetHolder,
) -> Result<SiemLog, LogParsingError>
fn parse_log( &self, log: SiemLog, _datasets: &DatasetHolder, ) -> Result<SiemLog, LogParsingError>
Parse the log. If it fails it must give a reason why. This allow optimization of the parsing process.
Source§fn description(&self) -> &'static str
fn description(&self) -> &'static str
Description of the parser
Source§fn schema(&self) -> &FieldSchema
fn schema(&self) -> &FieldSchema
Get parser schema
Source§fn generator(&self) -> Box<dyn LogGenerator>
fn generator(&self) -> Box<dyn LogGenerator>
Get a log generator to test this parser
Auto Trait Implementations§
impl Freeze for DummyParserError
impl RefUnwindSafe for DummyParserError
impl Send for DummyParserError
impl Sync for DummyParserError
impl Unpin for DummyParserError
impl UnwindSafe for DummyParserError
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