[][src]Struct py_spy::Frame

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>>,
}

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

Trait Implementations

impl Clone for Frame[src]

impl Debug for Frame[src]

impl Eq for Frame[src]

impl Hash for Frame[src]

impl Ord for Frame[src]

impl PartialEq<Frame> for Frame[src]

impl PartialOrd<Frame> for Frame[src]

impl Serialize for Frame[src]

impl StructuralEq for Frame[src]

impl StructuralPartialEq for Frame[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,