Struct pyroscope_rbspy_oncpu::StackTrace
source · pub struct StackTrace {
pub trace: Vec<StackFrame>,
pub pid: Option<Pid>,
pub thread_id: Option<usize>,
pub time: Option<SystemTime>,
}
Fields§
§trace: Vec<StackFrame>
§pid: Option<Pid>
§thread_id: Option<usize>
§time: Option<SystemTime>
Implementations§
source§impl StackTrace
impl StackTrace
pub fn new_empty() -> StackTrace
pub fn iter(&self) -> Iter<'_, StackFrame>
Trait Implementations§
source§impl Clone for StackTrace
impl Clone for StackTrace
source§fn clone(&self) -> StackTrace
fn clone(&self) -> StackTrace
Returns a copy 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 StackTrace
impl Debug for StackTrace
source§impl<'de> Deserialize<'de> for StackTrace
impl<'de> Deserialize<'de> for StackTrace
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 Display for StackTrace
impl Display for StackTrace
source§impl From<Vec<StackFrame>> for StackTrace
impl From<Vec<StackFrame>> for StackTrace
source§fn from(trace: Vec<StackFrame>) -> StackTrace
fn from(trace: Vec<StackFrame>) -> StackTrace
Converts to this type from the input type.
source§impl Hash for StackTrace
impl Hash for StackTrace
source§impl PartialEq for StackTrace
impl PartialEq for StackTrace
source§fn eq(&self, other: &StackTrace) -> bool
fn eq(&self, other: &StackTrace) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StackTrace
impl Serialize for StackTrace
impl Eq for StackTrace
impl StructuralPartialEq for StackTrace
Auto Trait Implementations§
impl Freeze for StackTrace
impl RefUnwindSafe for StackTrace
impl Send for StackTrace
impl Sync for StackTrace
impl Unpin for StackTrace
impl UnwindSafe for StackTrace
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.