#[repr(u8)]pub enum PerfTimestampCounterSize {
Bits40 = 0,
Bits48 = 1,
Bits56 = 2,
Bits64 = 3,
}Expand description
Performance timestamp counter size.
Variants§
Trait Implementations§
Source§impl Clone for PerfTimestampCounterSize
impl Clone for PerfTimestampCounterSize
Source§fn clone(&self) -> PerfTimestampCounterSize
fn clone(&self) -> PerfTimestampCounterSize
Returns a duplicate of the value. Read more
1.0.0 (const: unstable)§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PerfTimestampCounterSize
Source§impl Debug for PerfTimestampCounterSize
impl Debug for PerfTimestampCounterSize
impl Eq for PerfTimestampCounterSize
impl Immutable for PerfTimestampCounterSize
Source§impl IntoBytes for PerfTimestampCounterSizewhere
(): PaddingFree<Self, { _ }>,
impl IntoBytes for PerfTimestampCounterSizewhere
(): PaddingFree<Self, { _ }>,
Source§impl PartialEq for PerfTimestampCounterSize
impl PartialEq for PerfTimestampCounterSize
impl StructuralPartialEq for PerfTimestampCounterSize
Source§impl TryFromBytes for PerfTimestampCounterSize
impl TryFromBytes for PerfTimestampCounterSize
Source§fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<!, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<!, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<!, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<!, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<!, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<!, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Auto Trait Implementations§
impl Freeze for PerfTimestampCounterSize
impl RefUnwindSafe for PerfTimestampCounterSize
impl Send for PerfTimestampCounterSize
impl Sync for PerfTimestampCounterSize
impl Unpin for PerfTimestampCounterSize
impl UnsafeUnpin for PerfTimestampCounterSize
impl UnwindSafe for PerfTimestampCounterSize
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)