Struct 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
sourceimpl StackTrace
impl StackTrace
pub fn new_empty() -> StackTrace
pub fn iter(&self) -> Iter<'_, StackFrame>
Trait Implementations
sourceimpl Clone for StackTrace
impl Clone for StackTrace
sourcefn clone(&self) -> StackTrace
fn clone(&self) -> StackTrace
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for StackTrace
impl Debug for StackTrace
sourceimpl<'de> Deserialize<'de> for StackTrace
impl<'de> Deserialize<'de> for StackTrace
sourcefn 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
sourceimpl Display for StackTrace
impl Display for StackTrace
sourceimpl From<Vec<StackFrame, Global>> for StackTrace
impl From<Vec<StackFrame, Global>> for StackTrace
sourcefn from(trace: Vec<StackFrame>) -> StackTrace
fn from(trace: Vec<StackFrame>) -> StackTrace
Converts to this type from the input type.
sourceimpl Hash for StackTrace
impl Hash for StackTrace
sourceimpl PartialEq<StackTrace> for StackTrace
impl PartialEq<StackTrace> for StackTrace
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &StackTrace) -> bool
fn ne(&self, other: &StackTrace) -> bool
This method tests for !=
.
sourceimpl Serialize for StackTrace
impl Serialize for StackTrace
impl Eq for StackTrace
impl StructuralEq for StackTrace
impl StructuralPartialEq for StackTrace
Auto Trait Implementations
impl RefUnwindSafe for StackTrace
impl Send for StackTrace
impl Sync for StackTrace
impl Unpin for StackTrace
impl UnwindSafe for StackTrace
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.