pub struct StreamingParserBridge { /* private fields */ }Expand description
Bridge for streaming trace event parsing in UI context
Implementations§
Source§impl StreamingParserBridge
impl StreamingParserBridge
Sourcepub fn process_ringbuf_segment(
&mut self,
segment_data: &[u8],
trace_context: &TraceContext,
) -> Result<Option<ParsedTraceEvent>, String>
pub fn process_ringbuf_segment( &mut self, segment_data: &[u8], trace_context: &TraceContext, ) -> Result<Option<ParsedTraceEvent>, String>
Process incoming ringbuf segment and return complete ParsedTraceEvent if ready
This method uses StreamingTraceParser to reconstruct complete trace events and returns them directly for UI processing.
Sourcepub fn get_parse_state(&self) -> &ParseState
pub fn get_parse_state(&self) -> &ParseState
Get current parse state for debugging
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StreamingParserBridge
impl RefUnwindSafe for StreamingParserBridge
impl Send for StreamingParserBridge
impl Sync for StreamingParserBridge
impl Unpin for StreamingParserBridge
impl UnwindSafe for StreamingParserBridge
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more