Struct puffin::ThreadInfo
source · [−]pub struct ThreadInfo {
pub start_time_ns: Option<NanoSecond>,
pub name: String,
}
Expand description
Used to identify one source of profiling data.
Fields
start_time_ns: Option<NanoSecond>
Useful for ordering threads.
name: String
Name of the thread
Trait Implementations
sourceimpl Clone for ThreadInfo
impl Clone for ThreadInfo
sourcefn clone(&self) -> ThreadInfo
fn clone(&self) -> ThreadInfo
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 ThreadInfo
impl Debug for ThreadInfo
sourceimpl<'de> Deserialize<'de> for ThreadInfo
impl<'de> Deserialize<'de> for ThreadInfo
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 Hash for ThreadInfo
impl Hash for ThreadInfo
sourceimpl Ord for ThreadInfo
impl Ord for ThreadInfo
sourceimpl PartialEq<ThreadInfo> for ThreadInfo
impl PartialEq<ThreadInfo> for ThreadInfo
sourcefn eq(&self, other: &ThreadInfo) -> bool
fn eq(&self, other: &ThreadInfo) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ThreadInfo) -> bool
fn ne(&self, other: &ThreadInfo) -> bool
This method tests for !=
.
sourceimpl PartialOrd<ThreadInfo> for ThreadInfo
impl PartialOrd<ThreadInfo> for ThreadInfo
sourcefn partial_cmp(&self, other: &ThreadInfo) -> Option<Ordering>
fn partial_cmp(&self, other: &ThreadInfo) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn 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 more
sourceimpl Serialize for ThreadInfo
impl Serialize for ThreadInfo
impl Eq for ThreadInfo
impl StructuralEq for ThreadInfo
impl StructuralPartialEq for ThreadInfo
Auto Trait Implementations
impl RefUnwindSafe for ThreadInfo
impl Send for ThreadInfo
impl Sync for ThreadInfo
impl Unpin for ThreadInfo
impl UnwindSafe for ThreadInfo
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