[][src]Struct differential_dataflow::trace::wrappers::freeze::TraceFreeze

pub struct TraceFreeze<Tr, F> where
    Tr: TraceReader,
    Tr::Time: Lattice + Clone + 'static,
    F: Fn(&Tr::Time) -> Option<Tr::Time>, 
{ /* fields omitted */ }

Wrapper to provide trace to nested scope.

Methods

impl<Tr, F> TraceFreeze<Tr, F> where
    Tr: TraceReader,
    Tr::Batch: Clone,
    Tr::Key: 'static,
    Tr::Val: 'static,
    Tr::Time: Lattice + Clone + Default + 'static,
    Tr::R: 'static,
    F: Fn(&Tr::Time) -> Option<Tr::Time>, 
[src]

pub fn make_from(trace: Tr, func: Rc<F>) -> Self[src]

Makes a new trace wrapper

Trait Implementations

impl<Tr, F> TraceReader for TraceFreeze<Tr, F> where
    Tr: TraceReader,
    Tr::Batch: Clone,
    Tr::Key: 'static,
    Tr::Val: 'static,
    Tr::Time: Lattice + Clone + Default + 'static,
    Tr::R: 'static,
    F: Fn(&Tr::Time) -> Option<Tr::Time> + 'static, 
[src]

type Key = Tr::Key

Key by which updates are indexed.

type Val = Tr::Val

Values associated with keys.

type Time = Tr::Time

Timestamps associated with updates

type R = Tr::R

Associated update.

type Batch = BatchFreeze<Tr::Key, Tr::Val, Tr::Time, Tr::R, Tr::Batch, F>

The type of an immutable collection of updates.

type Cursor = CursorFreeze<Tr::Key, Tr::Val, Tr::Time, Tr::R, Tr::Cursor, F>

The type used to enumerate the collections contents.

fn cursor(
    &mut self
) -> (Self::Cursor, <Self::Cursor as Cursor<Self::Key, Self::Val, Self::Time, Self::R>>::Storage)
[src]

Provides a cursor over updates contained in the trace.

fn read_upper(&mut self, target: &mut Antichain<Self::Time>) where
    Self::Time: Timestamp
[src]

Reads the upper frontier of committed times. Read more

impl<Tr, F> Clone for TraceFreeze<Tr, F> where
    Tr: TraceReader + Clone,
    Tr::Time: Lattice + Clone + 'static,
    F: Fn(&Tr::Time) -> Option<Tr::Time>, 
[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<Tr, F> !Send for TraceFreeze<Tr, F>

impl<Tr, F> Unpin for TraceFreeze<Tr, F> where
    Tr: Unpin

impl<Tr, F> !Sync for TraceFreeze<Tr, F>

impl<Tr, F> UnwindSafe for TraceFreeze<Tr, F> where
    F: RefUnwindSafe,
    Tr: UnwindSafe

impl<Tr, F> !RefUnwindSafe for TraceFreeze<Tr, F>

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Data for T where
    T: 'static + Clone
[src]