Struct differential_dataflow::trace::wrappers::rc::TraceRc [] [src]

pub struct TraceRc<K, V, T, R, Tr> where
    T: Lattice + Ord + Clone + 'static,
    Tr: TraceReader<K, V, T, R>, 
{ pub wrapper: Rc<RefCell<TraceBox<K, V, T, R, Tr>>>, // some fields omitted }

A handle to a shared trace.

As long as the handle exists, the wrapped trace should continue to exist and will not advance its timestamps past the frontier maintained by the handle. The intent is that such a handle appears as if it is a privately maintained trace, despite being backed by shared resources.

Fields

Wrapped trace. Please be gentle when using.

Methods

impl<K, V, T, R, Tr> TraceRc<K, V, T, R, Tr> where
    T: Lattice + Ord + Clone + 'static,
    Tr: TraceReader<K, V, T, R>, 
[src]

[src]

Allocates a new handle from an existing wrapped wrapper.

Trait Implementations

impl<K, V, T, R, Tr> TraceReader<K, V, T, R> for TraceRc<K, V, T, R, Tr> where
    T: Lattice + Ord + Clone + 'static,
    Tr: TraceReader<K, V, T, R>, 
[src]

The type of an immutable collection of updates.

The type used to enumerate the collections contents.

[src]

Sets frontier to now be elements in frontier.

This change may not have immediately observable effects. It informs the shared trace that this handle no longer requires access to times other than those in the future of frontier, but if there are other handles to the same trace, it may not yet be able to compact.

[src]

Reports the frontier from which all time comparisions should be accurate. Read more

[src]

Allows the trace to compact batches of times before frontier.

[src]

Reports the frontier from which the collection may be subsetted. Read more

[src]

Creates a new cursor over the wrapped trace.

[src]

Maps some logic across the batches the collection manages. Read more

[src]

Provides a cursor over updates contained in the trace.

impl<K, V, T: Lattice + Ord + Clone, R, Tr> Clone for TraceRc<K, V, T, R, Tr> where
    Tr: TraceReader<K, V, T, R>, 
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<K, V, T, R, Tr> Drop for TraceRc<K, V, T, R, Tr> where
    T: Lattice + Ord + Clone + 'static,
    Tr: TraceReader<K, V, T, R>, 
[src]

[src]

Executes the destructor for this type. Read more