Struct sentry_types::protocol::v7::Frame
[−]
[src]
pub struct Frame { pub function: Option<String>, pub symbol: Option<String>, pub module: Option<String>, pub package: Option<String>, pub location: FileLocation, pub source: EmbeddedSources, pub in_app: Option<bool>, pub vars: Map<String, Value>, pub instruction_info: InstructionInfo, }
Represents a frame.
Fields
function: Option<String>
The name of the function is known.
Note that this might include the name of a class as well if that makes sense for the language.
symbol: Option<String>
The potentially mangled name of the symbol as it appears in an executable.
This is different from a function name by generally being the mangled name that appears natively in the binary. This is relevant for languages like Swift, C++ or Rust.
module: Option<String>
The name of the module the frame is contained in.
Note that this might also include a class name if that is something the language natively considers to be part of the stack (for instance in Java).
package: Option<String>
The name of the package that contains the frame.
For instance this can be a dylib for native languages, the name of the jar or .NET assembly.
location: FileLocation
Location information about where the error originated.
source: EmbeddedSources
Embedded sourcecode in the frame.
in_app: Option<bool>
In-app indicator.
vars: Map<String, Value>
Optional local variables.
instruction_info: InstructionInfo
Optional instruction information for native languages.
Trait Implementations
impl Default for Frame
[src]
impl Clone for Frame
[src]
fn clone(&self) -> Frame
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Frame
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more