pub enum ChunkLayout {
Regular {
rows_per_chunk: u32,
},
SourceDefined {
target_rows: u32,
},
}Expand description
How chunk boundaries are determined.
Variants§
Regular
Every chunk except the tail has the same row count.
SourceDefined
The source provides exact boundaries, while this value guides demand.
Implementations§
Source§impl ChunkLayout
impl ChunkLayout
Sourcepub const fn target_rows(self) -> u32
pub const fn target_rows(self) -> u32
Preferred row count used for bounded pull demand.
Trait Implementations§
Source§impl Clone for ChunkLayout
impl Clone for ChunkLayout
impl Copy for ChunkLayout
Source§impl Debug for ChunkLayout
impl Debug for ChunkLayout
impl Eq for ChunkLayout
Source§impl PartialEq for ChunkLayout
impl PartialEq for ChunkLayout
impl StructuralPartialEq for ChunkLayout
Auto Trait Implementations§
impl Freeze for ChunkLayout
impl RefUnwindSafe for ChunkLayout
impl Send for ChunkLayout
impl Sync for ChunkLayout
impl Unpin for ChunkLayout
impl UnsafeUnpin for ChunkLayout
impl UnwindSafe for ChunkLayout
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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 more