pub struct OrdValMerger<L: Layout> { /* private fields */ }
Expand description
State for an in-progress merge.
Trait Implementations§
Source§impl<L: Layout> Merger<OrdValBatch<L>> for OrdValMerger<L>
impl<L: Layout> Merger<OrdValBatch<L>> for OrdValMerger<L>
Source§fn new(
batch1: &OrdValBatch<L>,
batch2: &OrdValBatch<L>,
compaction_frontier: AntichainRef<'_, Time<L>>,
) -> Self
fn new( batch1: &OrdValBatch<L>, batch2: &OrdValBatch<L>, compaction_frontier: AntichainRef<'_, Time<L>>, ) -> Self
Creates a new merger to merge the supplied batches, optionally compacting
up to the supplied frontier.
Source§fn done(self) -> OrdValBatch<L>
fn done(self) -> OrdValBatch<L>
Extracts merged results. Read more
Source§fn work(
&mut self,
source1: &OrdValBatch<L>,
source2: &OrdValBatch<L>,
fuel: &mut isize,
)
fn work( &mut self, source1: &OrdValBatch<L>, source2: &OrdValBatch<L>, fuel: &mut isize, )
Perform some amount of work, decrementing
fuel
. Read moreAuto Trait Implementations§
impl<L> Freeze for OrdValMerger<L>where
<L as Layout>::KeyContainer: Freeze,
<L as Layout>::TimeContainer: Freeze,
<L as Layout>::DiffContainer: Freeze,
<L as Layout>::OffsetContainer: Freeze,
<L as Layout>::ValContainer: Freeze,
<<L as Layout>::TimeContainer as BatchContainer>::Owned: Freeze,
impl<L> RefUnwindSafe for OrdValMerger<L>where
<L as Layout>::KeyContainer: RefUnwindSafe,
<L as Layout>::TimeContainer: RefUnwindSafe,
<L as Layout>::DiffContainer: RefUnwindSafe,
<L as Layout>::OffsetContainer: RefUnwindSafe,
<L as Layout>::ValContainer: RefUnwindSafe,
<<L as Layout>::TimeContainer as BatchContainer>::Owned: RefUnwindSafe,
<<L as Layout>::DiffContainer as BatchContainer>::Owned: RefUnwindSafe,
impl<L> Send for OrdValMerger<L>where
<L as Layout>::KeyContainer: Send,
<L as Layout>::TimeContainer: Send,
<L as Layout>::DiffContainer: Send,
<L as Layout>::OffsetContainer: Send,
<L as Layout>::ValContainer: Send,
<<L as Layout>::DiffContainer as BatchContainer>::Owned: Send,
impl<L> Sync for OrdValMerger<L>where
<L as Layout>::KeyContainer: Sync,
<L as Layout>::TimeContainer: Sync,
<L as Layout>::DiffContainer: Sync,
<L as Layout>::OffsetContainer: Sync,
<L as Layout>::ValContainer: Sync,
<<L as Layout>::TimeContainer as BatchContainer>::Owned: Sync,
<<L as Layout>::DiffContainer as BatchContainer>::Owned: Sync,
impl<L> Unpin for OrdValMerger<L>where
<L as Layout>::KeyContainer: Unpin,
<L as Layout>::TimeContainer: Unpin,
<L as Layout>::DiffContainer: Unpin,
<L as Layout>::OffsetContainer: Unpin,
<L as Layout>::ValContainer: Unpin,
<<L as Layout>::TimeContainer as BatchContainer>::Owned: Unpin,
<<L as Layout>::DiffContainer as BatchContainer>::Owned: Unpin,
impl<L> UnwindSafe for OrdValMerger<L>where
<L as Layout>::KeyContainer: UnwindSafe,
<L as Layout>::TimeContainer: UnwindSafe,
<L as Layout>::DiffContainer: UnwindSafe,
<L as Layout>::OffsetContainer: UnwindSafe,
<L as Layout>::ValContainer: UnwindSafe,
<<L as Layout>::TimeContainer as BatchContainer>::Owned: RefUnwindSafe + UnwindSafe,
<<L as Layout>::DiffContainer as BatchContainer>::Owned: UnwindSafe,
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> 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
.