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

Wrapper type for building reference counted batches.

Trait Implementations§

source§

impl<B: Builder> Builder for AbomonatedBuilder<B>
where B::Output: Abomonation,

Functionality for building batches from ordered update sequences.

§

type Item = <B as Builder>::Item

Input item type.
§

type Time = <B as Builder>::Time

Timestamp type.
§

type Output = Abomonated<<B as Builder>::Output, Vec<u8>>

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, element: Self::Item)

Adds an element to the batch. Read more
source§

fn copy(&mut self, element: &Self::Item)

Adds an element to the batch.
source§

fn done( self, lower: Antichain<Self::Time>, upper: Antichain<Self::Time>, since: Antichain<Self::Time> ) -> Self::Output

Completes building and returns the batch.
source§

fn new() -> Self

Allocates an empty builder. Read more
source§

fn extend<I: Iterator<Item = Self::Item>>(&mut self, iter: I)

Adds an ordered sequence of elements to the batch.

Auto Trait Implementations§

§

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

§

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

§

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

§

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

§

impl<B> UnwindSafe for AbomonatedBuilder<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> 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<T> PushInto<Vec<T>> for T

source§

fn push_into(self, target: &mut Vec<T>)

Push self into the target container.
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.