pub struct OrdKeyBuilder<L: Layout, CI> {
pub result: OrdKeyStorage<L>,
/* private fields */
}
Expand description
A builder for creating layers from unsorted update tuples.
Fields§
§result: OrdKeyStorage<L>
The in-progress result.
This is public to allow container implementors to set and inspect their container.
Trait Implementations§
Source§impl<L, CI> Builder for OrdKeyBuilder<L, CI>where
L: for<'a> Layout<KeyContainer: PushInto<CI::Key<'a>>> + Layout,
CI: BuilderInput<L::KeyContainer, L::ValContainer, Time = Time<L>, Diff = Diff<L>>,
impl<L, CI> Builder for OrdKeyBuilder<L, CI>where
L: for<'a> Layout<KeyContainer: PushInto<CI::Key<'a>>> + Layout,
CI: BuilderInput<L::KeyContainer, L::ValContainer, Time = Time<L>, Diff = Diff<L>>,
Source§type Time = <<L as Layout>::TimeContainer as BatchContainer>::Owned
type Time = <<L as Layout>::TimeContainer as BatchContainer>::Owned
Timestamp type.
Source§type Output = OrdKeyBatch<L>
type Output = OrdKeyBatch<L>
Output batch type.
Source§fn with_capacity(keys: usize, _vals: usize, upds: usize) -> Self
fn with_capacity(keys: usize, _vals: usize, upds: usize) -> Self
Allocates an empty builder with capacity for the specified keys, values, and updates. Read more
Source§fn done(self, description: Description<Self::Time>) -> OrdKeyBatch<L>
fn done(self, description: Description<Self::Time>) -> OrdKeyBatch<L>
Completes building and returns the batch.
Auto Trait Implementations§
impl<L, CI> Freeze for OrdKeyBuilder<L, CI>where
<L as Layout>::KeyContainer: Freeze,
<L as Layout>::TimeContainer: Freeze,
<L as Layout>::DiffContainer: Freeze,
<L as Layout>::OffsetContainer: Freeze,
impl<L, CI> RefUnwindSafe for OrdKeyBuilder<L, CI>where
<L as Layout>::KeyContainer: RefUnwindSafe,
<L as Layout>::TimeContainer: RefUnwindSafe,
<L as Layout>::DiffContainer: RefUnwindSafe,
CI: RefUnwindSafe,
<L as Layout>::OffsetContainer: RefUnwindSafe,
<<L as Layout>::TimeContainer as BatchContainer>::Owned: RefUnwindSafe,
<<L as Layout>::DiffContainer as BatchContainer>::Owned: RefUnwindSafe,
impl<L, CI> Send for OrdKeyBuilder<L, CI>where
<L as Layout>::KeyContainer: Send,
<L as Layout>::TimeContainer: Send,
<L as Layout>::DiffContainer: Send,
CI: Send,
<L as Layout>::OffsetContainer: Send,
<<L as Layout>::DiffContainer as BatchContainer>::Owned: Send,
impl<L, CI> Sync for OrdKeyBuilder<L, CI>where
<L as Layout>::KeyContainer: Sync,
<L as Layout>::TimeContainer: Sync,
<L as Layout>::DiffContainer: Sync,
CI: Sync,
<L as Layout>::OffsetContainer: Sync,
<<L as Layout>::TimeContainer as BatchContainer>::Owned: Sync,
<<L as Layout>::DiffContainer as BatchContainer>::Owned: Sync,
impl<L, CI> Unpin for OrdKeyBuilder<L, CI>where
<L as Layout>::KeyContainer: Unpin,
<L as Layout>::TimeContainer: Unpin,
<L as Layout>::DiffContainer: Unpin,
CI: Unpin,
<L as Layout>::OffsetContainer: Unpin,
<<L as Layout>::TimeContainer as BatchContainer>::Owned: Unpin,
<<L as Layout>::DiffContainer as BatchContainer>::Owned: Unpin,
impl<L, CI> UnwindSafe for OrdKeyBuilder<L, CI>where
<L as Layout>::KeyContainer: UnwindSafe,
<L as Layout>::TimeContainer: UnwindSafe,
<L as Layout>::DiffContainer: UnwindSafe,
CI: UnwindSafe,
<L as Layout>::OffsetContainer: UnwindSafe,
<<L as Layout>::TimeContainer as BatchContainer>::Owned: 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
.