pub struct ClonedChunkPuller<'i, T, P>{ /* private fields */ }Expand description
Chunk puller of a cloned concurrent iterator; i.e., ConIterCloned
Trait Implementations§
Source§impl<'i, T, P> ChunkPuller for ClonedChunkPuller<'i, T, P>
impl<'i, T, P> ChunkPuller for ClonedChunkPuller<'i, T, P>
Source§type Chunk<'c> = Cloned<<P as ChunkPuller>::Chunk<'c>>
where
ClonedChunkPuller<'i, T, P>: 'c
type Chunk<'c> = Cloned<<P as ChunkPuller>::Chunk<'c>> where ClonedChunkPuller<'i, T, P>: 'c
Type of the pulled chunks which implements
ExactSizeIterator.Source§fn chunk_size(&self) -> usize
fn chunk_size(&self) -> usize
Target length of the pulled chunks. Read more
Source§fn pull(
&mut self,
) -> Option<<ClonedChunkPuller<'i, T, P> as ChunkPuller>::Chunk<'_>>
fn pull( &mut self, ) -> Option<<ClonedChunkPuller<'i, T, P> as ChunkPuller>::Chunk<'_>>
Pulls the next chunk from the connected concurrent iterator. Read more
Source§fn pull_with_idx(
&mut self,
) -> Option<(usize, <ClonedChunkPuller<'i, T, P> as ChunkPuller>::Chunk<'_>)>
fn pull_with_idx( &mut self, ) -> Option<(usize, <ClonedChunkPuller<'i, T, P> as ChunkPuller>::Chunk<'_>)>
Pulls the next chunk from the connected concurrent iterator together with the index
of the first element of the chunk. Read more
Source§fn flattened<'c>(self) -> FlattenedChunkPuller<'c, Self> ⓘwhere
Self: Sized,
fn flattened<'c>(self) -> FlattenedChunkPuller<'c, Self> ⓘwhere
Self: Sized,
Converts the
ChunkPuller into a FlattenedChunkPuller which is still connected to
and pulls its elements from the same concurrent iterator; while allowing for: Read moreSource§fn flattened_with_idx<'c>(self) -> FlattenedEnumeratedChunkPuller<'c, Self> ⓘwhere
Self: Sized,
fn flattened_with_idx<'c>(self) -> FlattenedEnumeratedChunkPuller<'c, Self> ⓘwhere
Self: Sized,
Converts the
ChunkPuller into a FlattenedEnumeratedChunkPuller which is still connected to
and pulls its elements from the same concurrent iterator; while allowing for: Read moreSource§impl<'i, T, P> From<P> for ClonedChunkPuller<'i, T, P>
impl<'i, T, P> From<P> for ClonedChunkPuller<'i, T, P>
Source§fn from(puller: P) -> ClonedChunkPuller<'i, T, P>
fn from(puller: P) -> ClonedChunkPuller<'i, T, P>
Converts to this type from the input type.
Auto Trait Implementations§
impl<'i, T, P> Freeze for ClonedChunkPuller<'i, T, P>where
P: Freeze,
impl<'i, T, P> RefUnwindSafe for ClonedChunkPuller<'i, T, P>where
P: RefUnwindSafe,
impl<'i, T, P> Send for ClonedChunkPuller<'i, T, P>where
P: Send,
impl<'i, T, P> Sync for ClonedChunkPuller<'i, T, P>where
P: Sync,
impl<'i, T, P> Unpin for ClonedChunkPuller<'i, T, P>where
P: Unpin,
impl<'i, T, P> UnwindSafe for ClonedChunkPuller<'i, T, P>where
P: 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