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
sourceimpl Debug for ThreadFlowLocation
impl Debug for ThreadFlowLocation
sourceimpl<'de> Deserialize<'de> for ThreadFlowLocation
impl<'de> Deserialize<'de> for ThreadFlowLocation
sourcefn 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>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for ThreadFlowLocation
impl Serialize for ThreadFlowLocation
Auto Trait Implementations
impl RefUnwindSafe for ThreadFlowLocation
impl Send for ThreadFlowLocation
impl Sync for ThreadFlowLocation
impl Unpin for ThreadFlowLocation
impl UnwindSafe for ThreadFlowLocation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
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
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more