Struct differential_dataflow::trace::wrappers::enter::BatchCursorEnter
source · pub struct BatchCursorEnter<K, V, T, R, B: BatchReader<K, V, T, R>, TInner> { /* private fields */ }Expand description
Wrapper to provide cursor to nested scope.
Trait Implementations
sourceimpl<K, V, T, R, TInner, B: BatchReader<K, V, T, R>> Cursor<K, V, TInner, R> for BatchCursorEnter<K, V, T, R, B, TInner>where
T: Timestamp,
TInner: Refines<T> + Lattice,
impl<K, V, T, R, TInner, B: BatchReader<K, V, T, R>> Cursor<K, V, TInner, R> for BatchCursorEnter<K, V, T, R, B, TInner>where
T: Timestamp,
TInner: Refines<T> + Lattice,
type Storage = BatchEnter<K, V, T, R, B, TInner>
type Storage = BatchEnter<K, V, T, R, B, TInner>
Type the cursor addresses data in.
sourcefn key_valid(&self, storage: &Self::Storage) -> bool
fn key_valid(&self, storage: &Self::Storage) -> bool
Indicates if the current key is valid. Read more
sourcefn val_valid(&self, storage: &Self::Storage) -> bool
fn val_valid(&self, storage: &Self::Storage) -> bool
Indicates if the current value is valid. Read more
sourcefn key<'a>(&self, storage: &'a Self::Storage) -> &'a K
fn key<'a>(&self, storage: &'a Self::Storage) -> &'a K
A reference to the current key. Asserts if invalid.
sourcefn val<'a>(&self, storage: &'a Self::Storage) -> &'a V
fn val<'a>(&self, storage: &'a Self::Storage) -> &'a V
A reference to the current value. Asserts if invalid.
sourcefn map_times<L: FnMut(&TInner, R)>(&mut self, storage: &Self::Storage, logic: L)
fn map_times<L: FnMut(&TInner, R)>(&mut self, storage: &Self::Storage, logic: L)
Applies
logic to each pair of time and difference. Intended for mutation of the
closure’s scope. Read moresourcefn step_key(&mut self, storage: &Self::Storage)
fn step_key(&mut self, storage: &Self::Storage)
Advances the cursor to the next key. Indicates if the key is valid.
sourcefn seek_key(&mut self, storage: &Self::Storage, key: &K)
fn seek_key(&mut self, storage: &Self::Storage, key: &K)
Advances the cursor to the specified key. Indicates if the key is valid.
sourcefn step_val(&mut self, storage: &Self::Storage)
fn step_val(&mut self, storage: &Self::Storage)
Advances the cursor to the next value. Indicates if the value is valid.
sourcefn seek_val(&mut self, storage: &Self::Storage, val: &V)
fn seek_val(&mut self, storage: &Self::Storage, val: &V)
Advances the cursor to the specified value. Indicates if the value is valid.
sourcefn rewind_keys(&mut self, storage: &Self::Storage)
fn rewind_keys(&mut self, storage: &Self::Storage)
Rewinds the cursor to the first key.
sourcefn rewind_vals(&mut self, storage: &Self::Storage)
fn rewind_vals(&mut self, storage: &Self::Storage)
Rewinds the cursor to the first value for current key.
Auto Trait Implementations
impl<K, V, T, R, B, TInner> RefUnwindSafe for BatchCursorEnter<K, V, T, R, B, TInner>where
K: RefUnwindSafe,
R: RefUnwindSafe,
TInner: RefUnwindSafe,
V: RefUnwindSafe,
<B as BatchReader<K, V, T, R>>::Cursor: RefUnwindSafe,
impl<K, V, T, R, B, TInner> Send for BatchCursorEnter<K, V, T, R, B, TInner>where
K: Send,
R: Send,
TInner: Send,
V: Send,
<B as BatchReader<K, V, T, R>>::Cursor: Send,
impl<K, V, T, R, B, TInner> Sync for BatchCursorEnter<K, V, T, R, B, TInner>where
K: Sync,
R: Sync,
TInner: Sync,
V: Sync,
<B as BatchReader<K, V, T, R>>::Cursor: Sync,
impl<K, V, T, R, B, TInner> Unpin for BatchCursorEnter<K, V, T, R, B, TInner>where
K: Unpin,
R: Unpin,
TInner: Unpin,
V: Unpin,
<B as BatchReader<K, V, T, R>>::Cursor: Unpin,
impl<K, V, T, R, B, TInner> UnwindSafe for BatchCursorEnter<K, V, T, R, B, TInner>where
K: UnwindSafe,
R: UnwindSafe,
TInner: UnwindSafe,
V: UnwindSafe,
<B as BatchReader<K, V, T, R>>::Cursor: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more