pub struct JavaTestDiagnosticParser { /* private fields */ }Expand description
Stateful extractor for Java exceptions followed by JVM stack frames.
Implementations§
Source§impl JavaTestDiagnosticParser
impl JavaTestDiagnosticParser
Sourcepub fn observe_line(&mut self, line: &str) -> Option<Diagnostic>
pub fn observe_line(&mut self, line: &str) -> Option<Diagnostic>
Observes one normalized test-log line and emits an exception once an application frame, another exception, or the end of its stack is seen.
Sourcepub fn finish(&mut self) -> Option<Diagnostic>
pub fn finish(&mut self) -> Option<Diagnostic>
Emits an exception that reached end-of-file without an application frame.
Trait Implementations§
Source§impl Debug for JavaTestDiagnosticParser
impl Debug for JavaTestDiagnosticParser
Auto Trait Implementations§
impl Freeze for JavaTestDiagnosticParser
impl RefUnwindSafe for JavaTestDiagnosticParser
impl Send for JavaTestDiagnosticParser
impl Sync for JavaTestDiagnosticParser
impl Unpin for JavaTestDiagnosticParser
impl UnsafeUnpin for JavaTestDiagnosticParser
impl UnwindSafe for JavaTestDiagnosticParser
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