pub struct SampleRecord {
pub timestamp_ns: u64,
pub process_id: Pid,
pub thread_id: Tid,
/* private fields */
}Expand description
A sample record loaded from a spool file.
Fields§
§timestamp_ns: u64Monotonic timestamp in nanoseconds.
process_id: PidProcess id for the sample.
thread_id: TidThread id for the sample.
Trait Implementations§
Source§impl Clone for SampleRecord
impl Clone for SampleRecord
Source§fn clone(&self) -> SampleRecord
fn clone(&self) -> SampleRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SampleRecord
Source§impl Debug for SampleRecord
impl Debug for SampleRecord
impl Eq for SampleRecord
Source§impl Hash for SampleRecord
impl Hash for SampleRecord
Source§impl PartialEq for SampleRecord
impl PartialEq for SampleRecord
impl StructuralPartialEq for SampleRecord
Auto Trait Implementations§
impl Freeze for SampleRecord
impl RefUnwindSafe for SampleRecord
impl Send for SampleRecord
impl Sync for SampleRecord
impl Unpin for SampleRecord
impl UnsafeUnpin for SampleRecord
impl UnwindSafe for SampleRecord
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