pub struct ChainBuilder<U: ColumnarUpdate, F: FnMut(UpdatesTyped<U>)> { /* private fields */ }Expand description
Accumulates UpdatesTyped chunks one at a time, melding small adjacent
chunks. Holds at most one chunk in memory (the meld target); whenever a
push doesn’t meld, the prior target becomes “stable” and is emitted via
the caller-provided sink. The sink can spill, count, or forward the chunk
however it likes.
Auto Trait Implementations§
impl<U, F> Freeze for ChainBuilder<U, F>
impl<U, F> RefUnwindSafe for ChainBuilder<U, F>where
F: RefUnwindSafe,
<<U as ColumnarUpdate>::Key as Columnar>::Container: RefUnwindSafe,
<<U as ColumnarUpdate>::Val as Columnar>::Container: RefUnwindSafe,
<<U as ColumnarUpdate>::Time as Columnar>::Container: RefUnwindSafe,
<<U as ColumnarUpdate>::Diff as Columnar>::Container: RefUnwindSafe,
impl<U, F> Send for ChainBuilder<U, F>where
F: Send,
impl<U, F> Sync for ChainBuilder<U, F>
impl<U, F> Unpin for ChainBuilder<U, F>
impl<U, F> UnsafeUnpin for ChainBuilder<U, F>where
F: UnsafeUnpin,
<<U as ColumnarUpdate>::Key as Columnar>::Container: UnsafeUnpin,
<<U as ColumnarUpdate>::Val as Columnar>::Container: UnsafeUnpin,
<<U as ColumnarUpdate>::Time as Columnar>::Container: UnsafeUnpin,
<<U as ColumnarUpdate>::Diff as Columnar>::Container: UnsafeUnpin,
impl<U, F> UnwindSafe for ChainBuilder<U, F>where
F: UnwindSafe,
<<U as ColumnarUpdate>::Key as Columnar>::Container: UnwindSafe,
<<U as ColumnarUpdate>::Val as Columnar>::Container: UnwindSafe,
<<U as ColumnarUpdate>::Time as Columnar>::Container: UnwindSafe,
<<U as ColumnarUpdate>::Diff as Columnar>::Container: 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.