pub struct LostSamples {
pub lost: u64,
}
Expand description
LOST_SAMPLES records indicate that some samples were lost while using hardware sampling.
This struct corresponds to PERF_RECORD_LOST_SAMPLES
. See the manpage
for more documentation.
Fields§
§lost: u64
The number of potentially lost samples.
Trait Implementations§
Source§impl Clone for LostSamples
impl Clone for LostSamples
Source§fn clone(&self) -> LostSamples
fn clone(&self) -> LostSamples
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LostSamples
impl Debug for LostSamples
Source§impl<'a> From<LostSamples> for Record<'a>
impl<'a> From<LostSamples> for Record<'a>
Source§fn from(value: LostSamples) -> Self
fn from(value: LostSamples) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LostSamples
impl RefUnwindSafe for LostSamples
impl Send for LostSamples
impl Sync for LostSamples
impl Unpin for LostSamples
impl UnwindSafe for LostSamples
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