pub struct FailureSummary {
pub line: usize,
pub test: Option<String>,
pub location: Option<String>,
pub message: Option<String>,
}Expand description
What a failed log says went wrong, as far as it can be read: the failing test, where
(path:line), and the message. Every part is optional; failure_summary returns None
only when nothing at all was recognised.
Fields§
§line: usizeThe line the summary was read from — where “jump to the error” should land.
test: Option<String>§location: Option<String>path:line, as the log wrote the path.
message: Option<String>Trait Implementations§
Source§impl Clone for FailureSummary
impl Clone for FailureSummary
Source§impl Debug for FailureSummary
impl Debug for FailureSummary
Source§impl Default for FailureSummary
impl Default for FailureSummary
impl Eq for FailureSummary
Source§impl PartialEq for FailureSummary
impl PartialEq for FailureSummary
impl StructuralPartialEq for FailureSummary
Auto Trait Implementations§
impl Freeze for FailureSummary
impl RefUnwindSafe for FailureSummary
impl Send for FailureSummary
impl Sync for FailureSummary
impl Unpin for FailureSummary
impl UnsafeUnpin for FailureSummary
impl UnwindSafe for FailureSummary
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