pub struct TraceFrontier<Tr: TraceReader> { /* private fields */ }Expand description
Wrapper to provide trace to nested scope.
Implementations§
Source§impl<Tr: TraceReader> TraceFrontier<Tr>
impl<Tr: TraceReader> TraceFrontier<Tr>
Sourcepub fn make_from(
trace: Tr,
since: AntichainRef<'_, Tr::Time>,
until: AntichainRef<'_, Tr::Time>,
) -> Self
pub fn make_from( trace: Tr, since: AntichainRef<'_, Tr::Time>, until: AntichainRef<'_, Tr::Time>, ) -> Self
Makes a new trace wrapper
Trait Implementations§
Source§impl<Tr: TraceReader + Clone> Clone for TraceFrontier<Tr>
impl<Tr: TraceReader + Clone> Clone for TraceFrontier<Tr>
Source§impl<Tr: TraceReader> TraceReader for TraceFrontier<Tr>
impl<Tr: TraceReader> TraceReader for TraceFrontier<Tr>
Source§type Batch = BatchFrontier<<Tr as TraceReader>::Batch>
type Batch = BatchFrontier<<Tr as TraceReader>::Batch>
The type of an immutable collection of updates.
Source§fn map_batches<F: FnMut(&Self::Batch)>(&self, f: F)
fn map_batches<F: FnMut(&Self::Batch)>(&self, f: F)
Maps logic across the non-empty sequence of batches in the trace. Read more
Source§fn set_logical_compaction(&mut self, frontier: AntichainRef<'_, Tr::Time>)
fn set_logical_compaction(&mut self, frontier: AntichainRef<'_, Tr::Time>)
Advances the frontier that constrains logical compaction. Read more
Source§fn get_logical_compaction(&mut self) -> AntichainRef<'_, Tr::Time>
fn get_logical_compaction(&mut self) -> AntichainRef<'_, Tr::Time>
Reports the logical compaction frontier. Read more
Source§fn set_physical_compaction(&mut self, frontier: AntichainRef<'_, Tr::Time>)
fn set_physical_compaction(&mut self, frontier: AntichainRef<'_, Tr::Time>)
Advances the frontier that constrains physical compaction. Read more
Source§fn get_physical_compaction(&mut self) -> AntichainRef<'_, Tr::Time>
fn get_physical_compaction(&mut self) -> AntichainRef<'_, Tr::Time>
Reports the physical compaction frontier. Read more
Source§fn batches_through(
&mut self,
upper: AntichainRef<'_, Tr::Time>,
) -> Option<Vec<Self::Batch>>
fn batches_through( &mut self, upper: AntichainRef<'_, Tr::Time>, ) -> Option<Vec<Self::Batch>>
Acquires the non-empty sequence of batches covering updates at times not greater or equal to an
element of
upper. Read moreSource§fn cursor(
&mut self,
) -> (CursorList<<Self::Batch as Navigable>::Cursor>, Vec<Self::Batch>)
fn cursor( &mut self, ) -> (CursorList<<Self::Batch as Navigable>::Cursor>, Vec<Self::Batch>)
Provides a cursor over updates contained in the trace.
Source§fn cursor_through(
&mut self,
upper: AntichainRef<'_, Self::Time>,
) -> Option<(CursorList<<Self::Batch as Navigable>::Cursor>, Vec<Self::Batch>)>
fn cursor_through( &mut self, upper: AntichainRef<'_, Self::Time>, ) -> Option<(CursorList<<Self::Batch as Navigable>::Cursor>, Vec<Self::Batch>)>
Acquires a cursor to the restriction of the collection’s contents to updates at times not greater or
equal to an element of
upper. Read moreSource§fn read_upper(&mut self, target: &mut Antichain<Self::Time>)
fn read_upper(&mut self, target: &mut Antichain<Self::Time>)
Reads the upper frontier of committed times.
Auto Trait Implementations§
impl<Tr> Freeze for TraceFrontier<Tr>
impl<Tr> RefUnwindSafe for TraceFrontier<Tr>
impl<Tr> Send for TraceFrontier<Tr>where
Tr: Send,
impl<Tr> Sync for TraceFrontier<Tr>
impl<Tr> Unpin for TraceFrontier<Tr>
impl<Tr> UnsafeUnpin for TraceFrontier<Tr>
impl<Tr> UnwindSafe for TraceFrontier<Tr>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
Source§fn plus_equals(&mut self, rhs: &&'a S)
fn plus_equals(&mut self, rhs: &&'a S)
The method of
std::ops::AddAssign, for types that do not implement AddAssign.