pub struct ProvenanceRecorder {
pub entries: Vec<ProvenanceEntry>,
/* private fields */
}Expand description
Lightweight recorder that captures derivation provenance during execution.
When enabled on the interpreter, every successful Op::Insert records
which premise facts (from enclosing Op::Iterate scans) contributed to
the derivation. When disabled (the default), there is zero overhead.
Fields§
§entries: Vec<ProvenanceEntry>All recorded derivations.
Trait Implementations§
Source§impl Default for ProvenanceRecorder
impl Default for ProvenanceRecorder
Source§fn default() -> ProvenanceRecorder
fn default() -> ProvenanceRecorder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProvenanceRecorder
impl RefUnwindSafe for ProvenanceRecorder
impl Send for ProvenanceRecorder
impl Sync for ProvenanceRecorder
impl Unpin for ProvenanceRecorder
impl UnsafeUnpin for ProvenanceRecorder
impl UnwindSafe for ProvenanceRecorder
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