pub struct PiglitResultParser { /* private fields */ }Implementations§
Source§impl PiglitResultParser
impl PiglitResultParser
pub fn new(name: &str) -> PiglitResultParser
Trait Implementations§
Source§impl ResultParser for PiglitResultParser
impl ResultParser for PiglitResultParser
fn initialize(&mut self) -> Option<ParserState>
fn parse_line(&mut self, line: &str) -> Result<Option<ParserState>>
fn parse( self, output: impl Read, fail_counter: Option<FailCounter<'_>>, ) -> Result<CaselistResult>
Source§fn default_test_status(&self) -> TestStatus
fn default_test_status(&self) -> TestStatus
Test status to return if no other test result was found. Typically we
emit Crash if we didn’t get a proper output, but some test commands may
want to create Skip or Missing results if a test didn’t even start.
fn parse_with_timer( self, output: impl Read, timer: Option<Timer>, fail_counter: Option<FailCounter<'_>>, ) -> Result<CaselistResult>
Auto Trait Implementations§
impl Freeze for PiglitResultParser
impl RefUnwindSafe for PiglitResultParser
impl Send for PiglitResultParser
impl Sync for PiglitResultParser
impl Unpin for PiglitResultParser
impl UnwindSafe for PiglitResultParser
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> 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