Struct py_spy_for_datakit::Frame
source · 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>>,
}Expand description
Information about a single function call in a stack trace
Fields§
§name: StringThe function name
filename: StringThe 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: i32The line number inside the file (or 0 for native frames without line information)
locals: Option<Vec<LocalVariable>>Local Variables associated with the frame
Trait Implementations§
source§impl Ord for Frame
impl Ord for Frame
source§impl PartialOrd<Frame> for Frame
impl PartialOrd<Frame> for Frame
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Eq for Frame
impl StructuralEq for Frame
impl StructuralPartialEq for Frame
Auto Trait Implementations§
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnwindSafe for Frame
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.