#[repr(u32)]pub enum TimeStampCounterReadability {
Readable = 1,
RaiseSIGSEGV = 2,
}
Expand description
PR_TSC_*
values for use with time_stamp_counter_readability
and
set_time_stamp_counter_readability
.
Variants§
Readable = 1
Allow the use of the timestamp counter.
RaiseSIGSEGV = 2
Throw a Signal::Segv
signal instead of reading the TSC.
Trait Implementations§
source§impl Clone for TimeStampCounterReadability
impl Clone for TimeStampCounterReadability
source§fn clone(&self) -> TimeStampCounterReadability
fn clone(&self) -> TimeStampCounterReadability
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 TimeStampCounterReadability
impl Debug for TimeStampCounterReadability
source§impl PartialEq for TimeStampCounterReadability
impl PartialEq for TimeStampCounterReadability
source§fn eq(&self, other: &TimeStampCounterReadability) -> bool
fn eq(&self, other: &TimeStampCounterReadability) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u32> for TimeStampCounterReadability
impl TryFrom<u32> for TimeStampCounterReadability
impl Copy for TimeStampCounterReadability
impl Eq for TimeStampCounterReadability
impl StructuralPartialEq for TimeStampCounterReadability
Auto Trait Implementations§
impl Freeze for TimeStampCounterReadability
impl RefUnwindSafe for TimeStampCounterReadability
impl Send for TimeStampCounterReadability
impl Sync for TimeStampCounterReadability
impl Unpin for TimeStampCounterReadability
impl UnwindSafe for TimeStampCounterReadability
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<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)