pub struct MultiFormatParser { /* private fields */ }Expand description
Multi-format parser that can handle different data formats.
Implementations§
Trait Implementations§
Source§impl EventParser for MultiFormatParser
impl EventParser for MultiFormatParser
Source§fn parse<'life0, 'async_trait>(
&'life0 self,
input: Self::Input,
) -> Pin<Box<dyn Future<Output = EventResult<Vec<Box<dyn Event>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn parse<'life0, 'async_trait>(
&'life0 self,
input: Self::Input,
) -> Pin<Box<dyn Future<Output = EventResult<Vec<Box<dyn Event>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Parse events from input data
Source§fn can_parse(&self, input: &Self::Input) -> bool
fn can_parse(&self, input: &Self::Input) -> bool
Check if this parser can handle the given input
Source§fn info(&self) -> ParserInfo
fn info(&self) -> ParserInfo
Get parser configuration information
Auto Trait Implementations§
impl !RefUnwindSafe for MultiFormatParser
impl !UnwindSafe for MultiFormatParser
impl Freeze for MultiFormatParser
impl Send for MultiFormatParser
impl Sync for MultiFormatParser
impl Unpin for MultiFormatParser
impl UnsafeUnpin for MultiFormatParser
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