#[non_exhaustive]pub struct EngineResult {
pub tiles_produced: u64,
pub tiles_skipped: u64,
pub levels_processed: u32,
pub peak_memory_bytes: u64,
pub bytes_read: u64,
pub bytes_written: u64,
pub retry_count: u64,
pub queue_pressure_peak: u32,
pub duration: Duration,
pub stage_durations: StageDurations,
pub skipped_due_to_failure: u64,
}Expand description
Summary statistics returned after a successful pyramid generation.
Captures tile counts, level counts, and peak memory so that callers can
log, display progress, or assert correctness without inspecting the sink
directly. Every field is populated by [generate_pyramid] /
[generate_pyramid_observed].
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.tiles_produced: u64Total number of tiles written to the sink (including placeholders).
tiles_skipped: u64Number of tiles that were blank and replaced with placeholders
(only non-zero when BlankTileStrategy::Placeholder is used).
levels_processed: u32Number of pyramid levels that were processed (always equals the plan’s level count).
peak_memory_bytes: u64Peak tracked memory in bytes (raster buffers only).
bytes_read: u64Total bytes read from the source raster.
bytes_written: u64Total bytes written to the sink (best-effort; sum of encoded payloads).
retry_count: u64Number of retry attempts observed across all sinks.
queue_pressure_peak: u32Peak number of tiles held in the producer/consumer queue.
duration: DurationWall-clock duration of the pyramid run.
stage_durations: StageDurationsPer-stage duration breakdown (see StageDurations).
skipped_due_to_failure: u64Number of tiles that failed terminally and were skipped under
FailurePolicy::RetryThenSkip.
Trait Implementations§
Source§impl Clone for EngineResult
impl Clone for EngineResult
Source§fn clone(&self) -> EngineResult
fn clone(&self) -> EngineResult
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for EngineResult
impl RefUnwindSafe for EngineResult
impl Send for EngineResult
impl Sync for EngineResult
impl Unpin for EngineResult
impl UnsafeUnpin for EngineResult
impl UnwindSafe for EngineResult
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
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>
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>
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