pub struct TraceBox<K, V, T, R, Tr>where
    T: Lattice + Ord + Clone + 'static,
    Tr: TraceReader<K, V, T, R>,
{ pub advance_frontiers: MutableAntichain<T>, pub through_frontiers: MutableAntichain<T>, pub trace: Tr, /* private fields */ }
Expand description

A wrapper around a trace which tracks the frontiers of all referees.

This is an internal type, unlikely to be useful to higher-level programs, but exposed just in case. This type is equivalent to a RefCell, in that it wraps the mutable state that multiple referrers may influence.

Fields

advance_frontiers: MutableAntichain<T>

accumulated holds on times for advancement.

through_frontiers: MutableAntichain<T>

accumulated holds on times for distinction.

trace: Tr

The wrapped trace.

Implementations

Moves an existing trace into a shareable trace wrapper.

The trace may already exist and have non-initial advance and distinguish frontiers. The boxing process will fish these out and make sure that they are used for the initial read capabilities.

Replaces elements of lower with those of upper.

Replaces elements of lower with those of upper.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.