Enum rustix::process::TimingMethod
source · #[repr(i32)]pub enum TimingMethod {
Statistical = 0,
TimeStamp = 1,
}
Expand description
PR_TIMING_*
values for use with timing_method
and
set_timing_method
.
Variants§
Statistical = 0
Normal, traditional, statistical process timing.
TimeStamp = 1
Accurate timestamp based process timing.
Trait Implementations§
source§impl Clone for TimingMethod
impl Clone for TimingMethod
source§fn clone(&self) -> TimingMethod
fn clone(&self) -> TimingMethod
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 TimingMethod
impl Debug for TimingMethod
source§impl PartialEq for TimingMethod
impl PartialEq for TimingMethod
source§fn eq(&self, other: &TimingMethod) -> bool
fn eq(&self, other: &TimingMethod) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<i32> for TimingMethod
impl TryFrom<i32> for TimingMethod
impl Copy for TimingMethod
impl Eq for TimingMethod
impl StructuralPartialEq for TimingMethod
Auto Trait Implementations§
impl Freeze for TimingMethod
impl RefUnwindSafe for TimingMethod
impl Send for TimingMethod
impl Sync for TimingMethod
impl Unpin for TimingMethod
impl UnwindSafe for TimingMethod
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
)