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
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: LinkedHashMap<String, Value, RandomState>
Optional local variables.
instruction_info: InstructionInfo
Optional instruction information for native languages.
Trait Implementations
impl PartialEq<Frame> for Frame
[src]
fn eq(&self, __arg_0: &Frame) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Frame) -> bool
[src]
This method tests for !=
.
impl<'de> Deserialize<'de> for Frame where
Frame: Default,
[src]
Frame: Default,
fn deserialize<__D>(
__deserializer: __D
) -> Result<Frame, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<Frame, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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 Serialize for Frame
[src]
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Debug for Frame
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more