pub struct Tsc(/* private fields */);
Implementations§
Source§impl Tsc
impl Tsc
pub fn try_new_assume_stable() -> Result<Self, TscUnavailable>
pub fn try_new_linux_sys() -> Result<Self, TscUnavailable>
pub fn calibrate(self) -> CalibratedTsc
Trait Implementations§
Source§impl From<CalibratedTsc> for Tsc
impl From<CalibratedTsc> for Tsc
Source§fn from(value: CalibratedTsc) -> Self
fn from(value: CalibratedTsc) -> Self
Converts to this type from the input type.
impl Copy for Tsc
impl Eq for Tsc
impl StructuralPartialEq for Tsc
Auto Trait Implementations§
impl Freeze for Tsc
impl RefUnwindSafe for Tsc
impl Send for Tsc
impl Sync for Tsc
impl Unpin for Tsc
impl UnwindSafe for Tsc
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