pub struct FileReport {
pub path: PathBuf,
pub check: CheckInfo,
pub error: Option<String>,
pub passed: usize,
pub failed: usize,
pub failures: Vec<String>,
pub file_level: bool,
}Expand description
Outcome of one test file.
Fields§
§path: PathBuf§check: CheckInfo§error: Option<String>Runtime error outside any test (e.g. the file itself raised).
passed: usize§failed: usize§failures: Vec<String>§file_level: booltrue when no test library was used and the verdict is file-level.
Implementations§
Trait Implementations§
Source§impl Debug for FileReport
impl Debug for FileReport
Source§impl Default for FileReport
impl Default for FileReport
Source§fn default() -> FileReport
fn default() -> FileReport
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FileReport
impl RefUnwindSafe for FileReport
impl Send for FileReport
impl Sync for FileReport
impl Unpin for FileReport
impl UnsafeUnpin for FileReport
impl UnwindSafe for FileReport
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