#[non_exhaustive]pub struct Entry {
pub meta: &'static JigMeta,
pub depth: usize,
pub duration: Duration,
pub ok: bool,
pub error: Option<String>,
}Expand description
One recorded jig invocation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.meta: &'static JigMetaCompile-time metadata for the jig that ran.
depth: usizeNesting depth at the time of entry (top-level jigs are depth 0).
duration: DurationWall-clock time spent inside the jig.
ok: booltrue if the jig produced a successful outcome.
error: Option<String>Error message captured from the jig’s output, if any.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Entry
Auto Trait Implementations§
impl Freeze for Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnsafeUnpin for Entry
impl UnwindSafe for Entry
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