pub struct HttpStreamParser;Expand description
HTTP/1.x stream parser.
Implementations§
Trait Implementations§
Source§impl Clone for HttpStreamParser
impl Clone for HttpStreamParser
Source§fn clone(&self) -> HttpStreamParser
fn clone(&self) -> HttpStreamParser
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 HttpStreamParser
impl Debug for HttpStreamParser
Source§impl Default for HttpStreamParser
impl Default for HttpStreamParser
Source§fn default() -> HttpStreamParser
fn default() -> HttpStreamParser
Returns the “default value” for a type. Read more
Source§impl StreamParser for HttpStreamParser
impl StreamParser for HttpStreamParser
Source§fn display_name(&self) -> &'static str
fn display_name(&self) -> &'static str
Human-readable name.
Source§fn can_parse_stream(&self, context: &StreamContext) -> bool
fn can_parse_stream(&self, context: &StreamContext) -> bool
Check if this parser can handle the stream based on context.
Source§fn parse_stream(
&self,
data: &[u8],
context: &StreamContext,
) -> StreamParseResult
fn parse_stream( &self, data: &[u8], context: &StreamContext, ) -> StreamParseResult
Parse from reassembled stream bytes. Read more
Source§fn message_schema(&self) -> Vec<FieldDescriptor>
fn message_schema(&self) -> Vec<FieldDescriptor>
Schema for messages produced by this parser.
impl Copy for HttpStreamParser
Auto Trait Implementations§
impl Freeze for HttpStreamParser
impl RefUnwindSafe for HttpStreamParser
impl Send for HttpStreamParser
impl Sync for HttpStreamParser
impl Unpin for HttpStreamParser
impl UnwindSafe for HttpStreamParser
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