pub struct DynamicScriptOutcome {Show 18 fields
pub changes: usize,
pub js_present: bool,
pub js_skipped: usize,
pub other_skipped: usize,
pub formcalc_run: usize,
pub formcalc_errors: usize,
pub output_quality: OutputQuality,
pub js_executed: usize,
pub js_runtime_errors: usize,
pub js_timeouts: usize,
pub js_oom: usize,
pub js_host_calls: usize,
pub js_mutations: usize,
pub js_instance_writes: usize,
pub js_list_writes: usize,
pub js_binding_errors: usize,
pub js_resolve_failures: usize,
pub js_data_reads: usize,
}Expand description
DynamicScriptOutcome.
Fields§
§changes: usizechanges.
js_present: booljs_present.
js_skipped: usizejs_skipped.
other_skipped: usizeother_skipped.
formcalc_run: usizeformcalc_run.
formcalc_errors: usizeformcalc_errors.
output_quality: OutputQualityoutput_quality.
js_executed: usizeM3-B Phase B. Scripts that ran to completion in the sandboxed
runtime. Always 0 when mode != JsExecutionMode::SandboxedRuntime
or when the xfa-js-sandboxed feature is not compiled in.
js_runtime_errors: usizeM3-B Phase B. Sandbox errors that did not fall under timeout / OOM (parse error, throw, missing host binding in Phase B, FFI panic). The dispatch path treats these as a script skip; the parent flatten never aborts because of them (S-17 fail-open).
js_timeouts: usizeM3-B Phase B. Per-script time-budget exhaustions.
js_oom: usizeM3-B Phase B. Per-document memory-budget exhaustions.
js_host_calls: usizeM3-B Phase C. Host-binding invocations.
js_mutations: usizeM3-B Phase C. Successful host-side field.rawValue writes.
js_instance_writes: usizeM3-B Phase D. Successful host-side instanceManager writes.
js_list_writes: usizeM3-B Phase D-β. Successful host-side listbox clearItems / addItem writes.
js_binding_errors: usizeM3-B Phase C. Binding-level failures.
js_resolve_failures: usizeM3-B Phase C. SOM resolution misses / failures.
js_data_reads: usizeM3-B Phase D-γ. Successful DataDom reads (children / value / child-by-name).
Trait Implementations§
Source§impl Clone for DynamicScriptOutcome
impl Clone for DynamicScriptOutcome
Source§fn clone(&self) -> DynamicScriptOutcome
fn clone(&self) -> DynamicScriptOutcome
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DynamicScriptOutcome
impl Debug for DynamicScriptOutcome
Source§impl Default for DynamicScriptOutcome
impl Default for DynamicScriptOutcome
Source§impl PartialEq for DynamicScriptOutcome
impl PartialEq for DynamicScriptOutcome
Source§fn eq(&self, other: &DynamicScriptOutcome) -> bool
fn eq(&self, other: &DynamicScriptOutcome) -> bool
self and other values to be equal, and is used by ==.impl Copy for DynamicScriptOutcome
impl Eq for DynamicScriptOutcome
impl StructuralPartialEq for DynamicScriptOutcome
Auto Trait Implementations§
impl Freeze for DynamicScriptOutcome
impl RefUnwindSafe for DynamicScriptOutcome
impl Send for DynamicScriptOutcome
impl Sync for DynamicScriptOutcome
impl Unpin for DynamicScriptOutcome
impl UnsafeUnpin for DynamicScriptOutcome
impl UnwindSafe for DynamicScriptOutcome
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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
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>
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
ReadEndian::read_from_little_endian().