pub struct StackFrame {Show 16 fields
pub ip: Option<String>,
pub module_base_address: Option<String>,
pub sp: Option<String>,
pub symbol_address: Option<String>,
pub build_id: Option<String>,
pub build_id_type: Option<BuildIdType>,
pub file_type: Option<FileType>,
pub path: Option<String>,
pub relative_address: Option<String>,
pub column: Option<u32>,
pub file: Option<String>,
pub function: Option<String>,
pub line: Option<u32>,
pub type_name: Option<String>,
pub mangled_name: Option<String>,
pub comments: Vec<String>,
}Fields§
§ip: Option<String>§module_base_address: Option<String>§sp: Option<String>§symbol_address: Option<String>§build_id: Option<String>§build_id_type: Option<BuildIdType>§file_type: Option<FileType>§path: Option<String>§relative_address: Option<String>§column: Option<u32>§file: Option<String>§function: Option<String>§line: Option<u32>§type_name: Option<String>§mangled_name: Option<String>§comments: Vec<String>Implementations§
Source§impl StackFrame
impl StackFrame
Source§impl StackFrame
impl StackFrame
pub fn normalize_ip( &mut self, normalizer: &Normalizer, pid: Pid, elf_resolvers: &mut CachedElfResolvers<'_>, ) -> Result<()>
pub fn resolve_names( &mut self, src: &Source<'_>, symbolizer: &Symbolizer, ) -> Result<()>
Source§impl StackFrame
impl StackFrame
pub fn demangle_name(&mut self) -> Result<()>
pub fn set_build_id_type(&mut self, build_id_type: BuildIdType)
pub fn set_file_type(&mut self, file_type: FileType)
pub fn with_ip(&mut self, ip: usize)
pub fn with_module_base_address(&mut self, addr: usize)
pub fn with_sp(&mut self, sp: usize)
pub fn with_symbol_address(&mut self, addr: usize)
pub fn with_build_id(&mut self, build_id: String)
pub fn with_path(&mut self, path: String)
pub fn with_relative_address(&mut self, addr: usize)
pub fn with_function(&mut self, function: String)
pub fn with_file(&mut self, file: String)
pub fn with_line(&mut self, line: u32)
pub fn with_column(&mut self, column: u32)
Trait Implementations§
Source§impl Clone for StackFrame
impl Clone for StackFrame
Source§fn clone(&self) -> StackFrame
fn clone(&self) -> StackFrame
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StackFrame
impl Debug for StackFrame
Source§impl Default for StackFrame
impl Default for StackFrame
Source§fn default() -> StackFrame
fn default() -> StackFrame
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StackFrame
impl<'de> Deserialize<'de> for StackFrame
Source§fn 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
Source§impl JsonSchema for StackFrame
impl JsonSchema for StackFrame
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for StackFrame
impl PartialEq for StackFrame
Source§impl Serialize for StackFrame
impl Serialize for StackFrame
impl StructuralPartialEq for StackFrame
Auto Trait Implementations§
impl Freeze for StackFrame
impl RefUnwindSafe for StackFrame
impl Send for StackFrame
impl Sync for StackFrame
impl Unpin for StackFrame
impl UnsafeUnpin for StackFrame
impl UnwindSafe for StackFrame
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more