Struct sentry::protocol::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: LinkedHashMap<String, Value, RandomState>,
    pub instruction_info: InstructionInfo,
}

Represents a frame.

Fields

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.

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.

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).

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 information about where the error originated.

Embedded sourcecode in the frame.

In-app indicator.

Optional local variables.

Optional instruction information for native languages.

Trait Implementations

impl PartialEq<Frame> for Frame
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<'de> Deserialize<'de> for Frame where
    Frame: Default
[src]

[src]

Deserialize this value from the given Serde deserializer. Read more

impl Clone for Frame
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Serialize for Frame
[src]

[src]

Serialize this value into the given Serde serializer. Read more

impl Debug for Frame
[src]

[src]

Formats the value using the given formatter. Read more

impl Default for Frame
[src]

[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for Frame

impl Sync for Frame