pub struct Morsel {
pub id: usize,
pub source_id: usize,
pub start_row: usize,
pub end_row: usize,
}Expand description
A morsel represents a unit of work for parallel execution.
Each morsel identifies a range of rows from a source to be processed by a single worker thread.
Fields§
§id: usizeUnique identifier for this morsel within a pipeline execution.
source_id: usizeSource partition identifier (for multi-source queries).
start_row: usizeStarting row index (inclusive).
end_row: usizeEnding row index (exclusive).
Implementations§
Trait Implementations§
impl Copy for Morsel
impl Eq for Morsel
impl StructuralPartialEq for Morsel
Auto Trait Implementations§
impl Freeze for Morsel
impl RefUnwindSafe for Morsel
impl Send for Morsel
impl Sync for Morsel
impl Unpin for Morsel
impl UnwindSafe for Morsel
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.