pub enum ParseState {
WaitingForHeader,
WaitingForMessage {
header: TraceEventHeader,
},
WaitingForInstructions {
header: TraceEventHeader,
message: TraceEventMessage,
instructions: Vec<ParsedInstruction>,
},
Complete,
}Expand description
State of ongoing trace event parsing
Variants§
Trait Implementations§
Source§impl Clone for ParseState
impl Clone for ParseState
Source§fn clone(&self) -> ParseState
fn clone(&self) -> ParseState
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 moreAuto Trait Implementations§
impl Freeze for ParseState
impl RefUnwindSafe for ParseState
impl Send for ParseState
impl Sync for ParseState
impl Unpin for ParseState
impl UnwindSafe for ParseState
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