pub struct Frame {
pub name: String,
pub filename: String,
pub module: Option<String>,
pub short_filename: Option<String>,
pub line: i32,
pub locals: Option<Vec<LocalVariable>>,
pub is_entry: bool,
}
Expand description
Information about a single function call in a stack trace
Fields§
§name: String
The function name
filename: String
The full filename of the file
module: Option<String>
The module/shared library the
short_filename: Option<String>
A short, more readable, representation of the filename
line: i32
The line number inside the file (or 0 for native frames without line information)
locals: Option<Vec<LocalVariable>>
Local Variables associated with the frame
is_entry: bool
If this is an entry frame. Each entry frame corresponds to one native frame.
Trait Implementations§
Source§impl Ord for Frame
impl Ord for Frame
Source§impl PartialOrd for Frame
impl PartialOrd for Frame
impl Eq for Frame
impl StructuralPartialEq for Frame
Auto Trait Implementations§
impl Freeze for Frame
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnwindSafe for Frame
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.