Skip to main content

RuntimeHostcallTelemetryEvent

Struct RuntimeHostcallTelemetryEvent 

Source
pub struct RuntimeHostcallTelemetryEvent {
Show 45 fields pub schema: String, pub ts_ms: i64, pub extension_id: String, pub call_id: String, pub capability: String, pub method: String, pub params_hash: String, pub args_shape_hash: String, pub resource_target_class: String, pub policy_reason: String, pub policy_profile: String, pub risk_score: f64, pub timeout_ms: Option<u64>, pub latency_ms: u64, pub lane: String, pub lane_decision_reason: String, pub lane_fallback_reason: Option<String>, pub lane_matrix_key: String, pub lane_dispatch_latency_ms: u64, pub lane_latency_share_bps: u64, pub marshalling_path: String, pub marshalling_latency_us: u64, pub marshalling_fallback_reason: Option<String>, pub marshalling_fallback_count: u64, pub marshalling_superinstruction_trace_signature: Option<String>, pub marshalling_superinstruction_plan_id: Option<String>, pub marshalling_superinstruction_expected_cost_delta: i64, pub marshalling_superinstruction_observed_cost_delta: i64, pub marshalling_superinstruction_deopt_reason: Option<String>, pub marshalling_superinstruction_jit_hit: bool, pub marshalling_superinstruction_jit_cost_delta: i64, pub outcome: String, pub outcome_error_code: Option<String>, pub selected_action: RuntimeRiskActionValue, pub reason_codes: Vec<String>, pub explanation_level: RuntimeRiskExplanationLevelValue, pub explanation_summary: String, pub top_contributors: Vec<RuntimeRiskExplanationContributor>, pub budget_state: RuntimeRiskExplanationBudgetState, pub sequence: RuntimeHostcallSequenceContext, pub features: RuntimeHostcallFeatureVector, pub extraction_latency_us: u64, pub extraction_budget_us: u64, pub extraction_budget_exceeded: bool, pub redaction_summary: String,
}

Fields§

§schema: String§ts_ms: i64§extension_id: String§call_id: String§capability: String§method: String§params_hash: String§args_shape_hash: String§resource_target_class: String§policy_reason: String§policy_profile: String§risk_score: f64§timeout_ms: Option<u64>§latency_ms: u64§lane: String

Dispatch lane selected for this hostcall (fast, compat, or unknown).

§lane_decision_reason: String

Deterministic lane decision reason code.

§lane_fallback_reason: Option<String>

Fallback reason code when compat lane is used.

§lane_matrix_key: String

Lane matrix key (method|opcode_or_fallback|capability_class).

§lane_dispatch_latency_ms: u64

Portion of latency attributed to lane dispatch execution.

§lane_latency_share_bps: u64

Lane dispatch share of total call latency in basis points (0..=10000).

§marshalling_path: String

Marshalling path identifier (interned_opcode_arena_v1, canonical_*).

§marshalling_latency_us: u64

Time spent in marshalling/hashing stage before dispatch.

§marshalling_fallback_reason: Option<String>

Fallback reason when marshalling exits the fast opcode path.

§marshalling_fallback_count: u64

Per-extension running count of marshalling fast-path fallbacks.

§marshalling_superinstruction_trace_signature: Option<String>

Signature of the recent opcode trace window used for superinstruction matching.

§marshalling_superinstruction_plan_id: Option<String>

Selected superinstruction plan id, when a fused plan hit is available.

§marshalling_superinstruction_expected_cost_delta: i64

Estimated cost reduction from selected superinstruction plan.

§marshalling_superinstruction_observed_cost_delta: i64

Observed/measured cost reduction for current call (or 0 when not applicable).

§marshalling_superinstruction_deopt_reason: Option<String>

Deoptimization reason when superinstruction plan selection falls back.

§marshalling_superinstruction_jit_hit: bool

Whether the tier-2 trace-JIT dispatched this call.

§marshalling_superinstruction_jit_cost_delta: i64

Tier-2 JIT cost improvement delta over tier-1 fused cost.

§outcome: String§outcome_error_code: Option<String>§selected_action: RuntimeRiskActionValue§reason_codes: Vec<String>§explanation_level: RuntimeRiskExplanationLevelValue§explanation_summary: String§top_contributors: Vec<RuntimeRiskExplanationContributor>§budget_state: RuntimeRiskExplanationBudgetState§sequence: RuntimeHostcallSequenceContext§features: RuntimeHostcallFeatureVector§extraction_latency_us: u64§extraction_budget_us: u64§extraction_budget_exceeded: bool§redaction_summary: String

Trait Implementations§

Source§

impl Clone for RuntimeHostcallTelemetryEvent

Source§

fn clone(&self) -> RuntimeHostcallTelemetryEvent

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for RuntimeHostcallTelemetryEvent

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for RuntimeHostcallTelemetryEvent

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for RuntimeHostcallTelemetryEvent

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for RuntimeHostcallTelemetryEvent

Source§

fn eq(&self, other: &RuntimeHostcallTelemetryEvent) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for RuntimeHostcallTelemetryEvent

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for RuntimeHostcallTelemetryEvent

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where T: 'a,

Source§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

Source§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where T: 'a,

Source§

fn implicit( self, class: Class, constructed: bool, tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, _span: NoopSpan) -> Self

Instruments this future with a span (no-op when disabled).
Source§

fn in_current_span(self) -> Self

Instruments this future with the current span (no-op when disabled).
Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T> ModelDump for T
where T: Serialize,

Source§

fn model_dump(&self, options: DumpOptions) -> Result<Value, Error>

Serialize a model to a JSON value. Read more
Source§

fn model_dump_json(&self) -> Result<String, Error>

Serialize a model to a JSON string with default options.
Source§

fn model_dump_json_pretty(&self) -> Result<String, Error>

Serialize a model to a pretty-printed JSON string.
Source§

fn model_dump_json_with_options( &self, options: DumpOptions, ) -> Result<String, Error>

Serialize a model to a JSON string with full options support. Read more
Source§

impl<T> ModelValidate for T

Source§

fn model_validate( input: impl Into<ValidateInput>, options: ValidateOptions, ) -> Result<T, ValidationError>

Create and validate a model from input. Read more
Source§

fn model_validate_json(json: &str) -> Result<Self, ValidationError>

Create and validate a model from JSON string with default options.
Source§

fn model_validate_dict( dict: HashMap<String, Value>, ) -> Result<Self, ValidationError>

Create and validate a model from a HashMap with default options.
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<R, P> ReadPrimitive<R> for P
where R: Read + ReadEndian<P>, P: Default,

Source§

fn read_from_little_endian(read: &mut R) -> Result<Self, Error>

Read this value from the supplied reader. Same as ReadEndian::read_from_little_endian().
Source§

fn read_from_big_endian(read: &mut R) -> Result<Self, Error>

Read this value from the supplied reader. Same as ReadEndian::read_from_big_endian().
Source§

fn read_from_native_endian(read: &mut R) -> Result<Self, Error>

Read this value from the supplied reader. Same as ReadEndian::read_from_native_endian().
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> ParallelSend for T

Source§

impl<T> Send for T
where T: ?Sized,

Source§

impl<T> Sync for T
where T: ?Sized,