pub struct BinaryEventParser { /* private fields */ }Expand description
Binary data parser for handling raw bytes.
Implementations§
Trait Implementations§
Source§impl EventParser for BinaryEventParser
impl EventParser for BinaryEventParser
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 Freeze for BinaryEventParser
impl RefUnwindSafe for BinaryEventParser
impl Send for BinaryEventParser
impl Sync for BinaryEventParser
impl Unpin for BinaryEventParser
impl UnsafeUnpin for BinaryEventParser
impl UnwindSafe for BinaryEventParser
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