pub struct MapReduceConfig {
pub memory_budget_bytes: u64,
pub tile_concurrency: usize,
pub buffer_size: usize,
pub background_rgb: [u8; 3],
pub blank_tile_strategy: BlankTileStrategy,
}Expand description
Configuration for the MapReduce streaming engine.
Controls memory budget, per-strip tile concurrency, channel backpressure, and tile handling options. The budget determines how many strips can be in flight simultaneously during the Map phase.
Fields§
§memory_budget_bytes: u64Soft memory budget in bytes (covers all in-flight strips + accumulators).
tile_concurrency: usizeMaximum worker threads for tile extraction within each strip. 0 = single-threaded tile emission (strip-level parallelism only).
buffer_size: usizeBounded channel capacity for tile backpressure.
background_rgb: [u8; 3]Background colour for edge tile padding.
blank_tile_strategy: BlankTileStrategyBlank tile handling strategy.
Trait Implementations§
Source§impl Clone for MapReduceConfig
impl Clone for MapReduceConfig
Source§fn clone(&self) -> MapReduceConfig
fn clone(&self) -> MapReduceConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MapReduceConfig
impl Debug for MapReduceConfig
Auto Trait Implementations§
impl Freeze for MapReduceConfig
impl RefUnwindSafe for MapReduceConfig
impl Send for MapReduceConfig
impl Sync for MapReduceConfig
impl Unpin for MapReduceConfig
impl UnsafeUnpin for MapReduceConfig
impl UnwindSafe for MapReduceConfig
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<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