pub struct ThreadFlowLocation {
Show 14 fields pub execution_order: Option<i64>, pub execution_time_utc: Option<String>, pub importance: Option<Importance>, pub index: Option<i64>, pub kinds: Option<Vec<String>>, pub location: Option<Location>, pub module: Option<String>, pub nesting_level: Option<i64>, pub properties: Option<PropertyBag>, pub stack: Option<Stack>, pub state: Option<HashMap<String, MultiformatMessageString>>, pub taxa: Option<Vec<ReportingDescriptorReference>>, pub web_request: Option<WebRequest>, pub web_response: Option<WebResponse>,
}
Expand description

A location visited by an analysis tool while simulating or monitoring the execution of a program.

Fields

execution_order: Option<i64>

An integer representing the temporal order in which execution reached this location.

execution_time_utc: Option<String>

The Coordinated Universal Time (UTC) date and time at which this location was executed.

importance: Option<Importance>

Specifies the importance of this location in understanding the code flow in which it occurs. The order from most to least important is “essential”, “important”, “unimportant”. Default: “important”.

index: Option<i64>

The index within the run threadFlowLocations array.

kinds: Option<Vec<String>>

A set of distinct strings that categorize the thread flow location. Well-known kinds include ‘acquire’, ‘release’, ‘enter’, ‘exit’, ‘call’, ‘return’, ‘branch’, ‘implicit’, ‘false’, ‘true’, ‘caution’, ‘danger’, ‘unknown’, ‘unreachable’, ‘taint’, ‘function’, ‘handler’, ‘lock’, ‘memory’, ‘resource’, ‘scope’ and ‘value’.

location: Option<Location>

The code location.

module: Option<String>

The name of the module that contains the code that is executing.

nesting_level: Option<i64>

An integer representing a containment hierarchy within the thread flow.

properties: Option<PropertyBag>

Key/value pairs that provide additional information about the threadflow location.

stack: Option<Stack>

The call stack leading to this location.

state: Option<HashMap<String, MultiformatMessageString>>

A dictionary, each of whose keys specifies a variable or expression, the associated value of which represents the variable or expression value. For an annotation of kind ‘continuation’, for example, this dictionary might hold the current assumed values of a set of global variables.

taxa: Option<Vec<ReportingDescriptorReference>>

An array of references to rule or taxonomy reporting descriptors that are applicable to the thread flow location.

web_request: Option<WebRequest>

A web request associated with this thread flow location.

web_response: Option<WebResponse>

A web response associated with this thread flow location.

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

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

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

Calls U::from(self).

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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

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