pub enum ParsedLine {
Comment(String),
Blank,
Event(Box<Event>),
}Expand description
The result of parsing a single line from a TSJSON shard file.
Variants§
Comment(String)
A comment line (starts with #). The text includes the # prefix.
Blank
A blank or whitespace-only line.
Event(Box<Event>)
A successfully parsed event (boxed to reduce enum size).
Trait Implementations§
Source§impl Clone for ParsedLine
impl Clone for ParsedLine
Source§fn clone(&self) -> ParsedLine
fn clone(&self) -> ParsedLine
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 ParsedLine
impl Debug for ParsedLine
Source§impl PartialEq for ParsedLine
impl PartialEq for ParsedLine
impl Eq for ParsedLine
impl StructuralPartialEq for ParsedLine
Auto Trait Implementations§
impl Freeze for ParsedLine
impl RefUnwindSafe for ParsedLine
impl Send for ParsedLine
impl Sync for ParsedLine
impl Unpin for ParsedLine
impl UnsafeUnpin for ParsedLine
impl UnwindSafe for ParsedLine
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.