pub struct StackFrame {
pub function_name: String,
pub module_name: Option<String>,
pub file_name: Option<String>,
pub line_number: Option<u32>,
pub address: Option<u64>,
pub offset: Option<u64>,
}
Expand description
Stack frame
Fields§
§function_name: String
Function name
module_name: Option<String>
Module name
file_name: Option<String>
File name
line_number: Option<u32>
Line number
address: Option<u64>
Memory address
offset: Option<u64>
Instruction offset
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 · 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<'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
Auto Trait Implementations§
impl Freeze for StackFrame
impl RefUnwindSafe for StackFrame
impl Send for StackFrame
impl Sync for StackFrame
impl Unpin 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