pub struct LexResult {
pub events: Vec<(usize, LogEvent)>,
pub warnings: Vec<String>,
}Expand description
The outcome of lexing a log stream.
Fields§
§events: Vec<(usize, LogEvent)>Recognised events, each tagged with its source line index.
warnings: Vec<String>Non-fatal warnings (malformed-but-recoverable lines).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LexResult
impl RefUnwindSafe for LexResult
impl Send for LexResult
impl Sync for LexResult
impl Unpin for LexResult
impl UnsafeUnpin for LexResult
impl UnwindSafe for LexResult
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