pub enum LogParsingError {
NoValidParser(SiemLog),
ParserError(SiemLog, String),
NotImplemented(SiemLog),
FormatError(SiemLog, String),
Discard,
}Expand description
Error at parsing a log
Variants§
NoValidParser(SiemLog)
The parser can’t be used with this log
ParserError(SiemLog, String)
The log is for this parser but there is a bug in the code
NotImplemented(SiemLog)
The log is for this parser but the submodule has not been implemented.
FormatError(SiemLog, String)
The log has change format the parser cant process it.
Discard
Log was discarded. It does not have utility or there are storage limitations.
Trait Implementations§
Source§impl Clone for LogParsingError
impl Clone for LogParsingError
Source§fn clone(&self) -> LogParsingError
fn clone(&self) -> LogParsingError
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 Debug for LogParsingError
impl Debug for LogParsingError
Source§impl<'de> Deserialize<'de> for LogParsingError
impl<'de> Deserialize<'de> for LogParsingError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LogParsingError
impl RefUnwindSafe for LogParsingError
impl Send for LogParsingError
impl Sync for LogParsingError
impl Unpin for LogParsingError
impl UnwindSafe for LogParsingError
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