[−][src]Struct os_clock::PosixClock
The POSIX clockid_t represents numerous types of clocks (wall, cpu, etc) However, they share a common API
https://pubs.opengroup.org/onlinepubs/9699919799/
Implementations
impl PosixClock
[src]
pub unsafe fn from_clockid(clockid: clockid_t) -> PosixClock
[src]
Creating a POSIX clock struct could result in undefined behavior if passed an invalid clockid_t
It is safe to call this on a known-valid clockid
Trait Implementations
impl Clock for PosixClock
[src]
Auto Trait Implementations
impl RefUnwindSafe for PosixClock
impl Send for PosixClock
impl Sync for PosixClock
impl Unpin for PosixClock
impl UnwindSafe for PosixClock
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,