pub struct RcBuilder<B: Builder> { /* private fields */ }
Expand description

Wrapper type for building reference counted batches.

Trait Implementations§

source§

impl<B: Builder> Builder for RcBuilder<B>

Functionality for building batches from ordered update sequences.

§

type Input = <B as Builder>::Input

Input item type.
§

type Time = <B as Builder>::Time

Timestamp type.
§

type Output = Rc<<B as Builder>::Output>

Output batch type.
source§

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 push(&mut self, input: &mut Self::Input)

Adds a chunk of elements to the batch. Read more
source§

fn done(self, description: Description<Self::Time>) -> Rc<B::Output>

Completes building and returns the batch.
source§

fn seal( chain: &mut Vec<Self::Input>, description: Description<Self::Time>, ) -> Self::Output

Builds a batch from a chain of updates corresponding to the indicated lower and upper bounds. Read more
source§

fn new() -> Self

Allocates an empty builder. Read more

Auto Trait Implementations§

§

impl<B> Freeze for RcBuilder<B>
where B: Freeze,

§

impl<B> RefUnwindSafe for RcBuilder<B>
where B: RefUnwindSafe,

§

impl<B> Send for RcBuilder<B>
where B: Send,

§

impl<B> Sync for RcBuilder<B>
where B: Sync,

§

impl<B> Unpin for RcBuilder<B>
where B: Unpin,

§

impl<B> UnwindSafe for RcBuilder<B>
where B: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CopyAs<T> for T

source§

fn copy_as(self) -> T

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<'a, S, T> Semigroup<&'a S> for T
where T: Semigroup<S>,

source§

fn plus_equals(&mut self, rhs: &&'a S)

The method of std::ops::AddAssign, for types that do not implement AddAssign.
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.