pub struct VecChunker<T> { /* private fields */ }
Expand description
Chunk a stream of vectors into chains of vectors.
Trait Implementations§
Source§impl<K, V, T, R> ContainerBuilder for VecChunker<((K, V), T, R)>
impl<K, V, T, R> ContainerBuilder for VecChunker<((K, V), T, R)>
Source§fn extract(&mut self) -> Option<&mut Self::Container>
fn extract(&mut self) -> Option<&mut Self::Container>
Extract assembled containers, potentially leaving unfinished data behind. Can
be called repeatedly, for example while the caller can send data. Read more
Source§fn finish(&mut self) -> Option<&mut Self::Container>
fn finish(&mut self) -> Option<&mut Self::Container>
Extract assembled containers and any unfinished data. Should
be called repeatedly until it returns
None
.Source§impl<T> Default for VecChunker<T>
impl<T> Default for VecChunker<T>
Auto Trait Implementations§
impl<T> Freeze for VecChunker<T>
impl<T> RefUnwindSafe for VecChunker<T>where
T: RefUnwindSafe,
impl<T> Send for VecChunker<T>where
T: Send,
impl<T> Sync for VecChunker<T>where
T: Sync,
impl<T> Unpin for VecChunker<T>where
T: Unpin,
impl<T> UnwindSafe for VecChunker<T>where
T: 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<'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
.