#[non_exhaustive]pub struct PipelineDiagnosticsReport {
pub pipeline: PipelineDiagnostics,
pub refused_input_elements: u64,
pub refused_prepass_records: u64,
pub omitted_type_records: u64,
}Expand description
Pipeline diagnostics report used by getPipelineDiagnostics.
PipelineDiagnostics remains constructible for existing Rust callers.
Construct reports via Default or from_processing_stats.
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.pipeline: PipelineDiagnostics§refused_input_elements: u64Attempted elements whose own decode or geometry read refused input.
refused_prepass_records: u64Distinct records refused in prepass or batch resolution on this worker.
omitted_type_records: u64F2 (#8341): distinct type records whose planned type geometry was
omitted because the full decoder rejects them (plain decode failures,
never in the two refusal counters). Browser: the prepass on this
worker. Native: ProcessingStats cannot carry it, so
from_processing_stats leaves 0; set it from
ProcessingSink::on_omitted_type_records.
Implementations§
Source§impl PipelineDiagnosticsReport
impl PipelineDiagnosticsReport
pub fn from_processing_stats( stats: &ProcessingStats, element_count: u64, ) -> Self
Methods from Deref<Target = PipelineDiagnostics>§
Sourcepub fn record_batch(
&mut self,
element_count: u64,
mesh_count: u64,
triangle_count: u64,
backstop_count: u64,
point_cache_hits: u64,
point_cache_misses: u64,
faceted_brep_ms: u64,
geometry_ms: u64,
diag: &GeometryDiagnostics,
)
pub fn record_batch( &mut self, element_count: u64, mesh_count: u64, triangle_count: u64, backstop_count: u64, point_cache_hits: u64, point_cache_misses: u64, faceted_brep_ms: u64, geometry_ms: u64, diag: &GeometryDiagnostics, )
Fold one geometry batch into the accumulator (the wasm
processGeometryBatch* path calls this once per batch).
geometry_ms is the batch’s wall time; diag is the batch’s drained
[GeometryDiagnostics]. Summing per-batch aggregates is exact because
each batch drains its own router (no double counting).
Trait Implementations§
Source§impl Clone for PipelineDiagnosticsReport
impl Clone for PipelineDiagnosticsReport
Source§fn clone(&self) -> PipelineDiagnosticsReport
fn clone(&self) -> PipelineDiagnosticsReport
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PipelineDiagnosticsReport
impl Debug for PipelineDiagnosticsReport
Source§impl Default for PipelineDiagnosticsReport
impl Default for PipelineDiagnosticsReport
Source§fn default() -> PipelineDiagnosticsReport
fn default() -> PipelineDiagnosticsReport
Source§impl Deref for PipelineDiagnosticsReport
impl Deref for PipelineDiagnosticsReport
Source§impl DerefMut for PipelineDiagnosticsReport
impl DerefMut for PipelineDiagnosticsReport
Source§impl<'de> Deserialize<'de> for PipelineDiagnosticsReport
impl<'de> Deserialize<'de> for PipelineDiagnosticsReport
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Auto Trait Implementations§
impl Freeze for PipelineDiagnosticsReport
impl RefUnwindSafe for PipelineDiagnosticsReport
impl Send for PipelineDiagnosticsReport
impl Sync for PipelineDiagnosticsReport
impl Unpin for PipelineDiagnosticsReport
impl UnwindSafe for PipelineDiagnosticsReport
Blanket Implementations§
§impl<U> As for U
impl<U> As for U
§fn as_<T>(self) -> Twhere
T: CastFrom<U>,
fn as_<T>(self) -> Twhere
T: CastFrom<U>,
self to type T. The semantics of numeric casting with the as operator are followed, so <T as As>::as_::<U> can be used in the same way as T as U for numeric conversions. Read moreSource§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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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§impl<T> Pointable for T
impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.