Struct actix_tools::sentry::sentry_client::protocol::Frame [−]
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 Serialize for Frame
impl Serialize for Framefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
fn serialize<__S>(
&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 Clone for Frame
impl Clone for Framefn clone(&self) -> Frame
fn clone(&self) -> FrameReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Default for Frame
impl Default for Frameimpl Debug for Frame
impl Debug for Framefn fmt(&self, f: &mut Formatter) -> Result<(), Error>
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl<'de> Deserialize<'de> for Frame where
Frame: Default,
impl<'de> Deserialize<'de> for Frame where
Frame: Default, fn deserialize<__D>(
__deserializer: __D
) -> Result<Frame, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<Frame, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>, Deserialize this value from the given Serde deserializer. Read more
impl PartialEq<Frame> for Frame
impl PartialEq<Frame> for Frame