pub enum ParsedOutputState {
Parsed(ParsedState),
Finished,
Error(ParsedErrorState),
}Expand description
The main state that a parsed output reader produces
Variants§
Parsed(ParsedState)
Occurs when an output was detected and parsed
Finished
Occurs when the output reader is finished
Error(ParsedErrorState)
Occurs when there’s an error reading and the reader ends unexpectedly
Implementations§
Source§impl ParsedOutputState
impl ParsedOutputState
Sourcepub fn parse(output_state: OutputState) -> ParsedOutputState
pub fn parse(output_state: OutputState) -> ParsedOutputState
Parses a raw output state into a more specific one
Auto Trait Implementations§
impl Freeze for ParsedOutputState
impl RefUnwindSafe for ParsedOutputState
impl Send for ParsedOutputState
impl Sync for ParsedOutputState
impl Unpin for ParsedOutputState
impl UnwindSafe for ParsedOutputState
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