pub struct Evidence { /* private fields */ }Implementations§
Source§impl Evidence
impl Evidence
pub fn new(test: &str) -> Self
Sourcepub fn record(&self, source: &'static str, line: impl Into<String>)
pub fn record(&self, source: &'static str, line: impl Into<String>)
Record one line from a named source (“defmt”, “assistant:a0”, …). Timestamped with host time relative to test start; this timestamp is for correlating the narrative, never for timing assertions — those use assistant-local timestamps carried inside the events themselves.
pub fn is_empty(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Evidence
impl RefUnwindSafe for Evidence
impl Send for Evidence
impl Sync for Evidence
impl Unpin for Evidence
impl UnsafeUnpin for Evidence
impl UnwindSafe for Evidence
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