pub struct TimestampParser { /* private fields */ }Expand description
Parser with special handling for timestamp fields
Implementations§
Source§impl TimestampParser
impl TimestampParser
Sourcepub fn new(base_parser: FieldBasedParser, timestamp_index: usize) -> Self
pub fn new(base_parser: FieldBasedParser, timestamp_index: usize) -> Self
Create a timestamp-aware parser decorating a base parser.
Trait Implementations§
Source§impl MessageParser for TimestampParser
impl MessageParser for TimestampParser
Auto Trait Implementations§
impl Freeze for TimestampParser
impl !RefUnwindSafe for TimestampParser
impl Send for TimestampParser
impl Sync for TimestampParser
impl Unpin for TimestampParser
impl UnsafeUnpin for TimestampParser
impl !UnwindSafe for TimestampParser
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