[][src]Enum wasi_common::wasi::types::Clockid

#[repr(u32)]pub enum Clockid {
    Realtime,
    Monotonic,
    ProcessCputimeId,
    ThreadCputimeId,
}

Variants

Realtime
Monotonic
ProcessCputimeId
ThreadCputimeId

Trait Implementations

impl Clone for Clockid[src]

impl Copy for Clockid[src]

impl Debug for Clockid[src]

impl Display for Clockid[src]

impl Eq for Clockid[src]

impl From<Clockid> for ClockId[src]

impl From<Clockid> for u32[src]

impl From<Clockid> for i32[src]

impl<'a> GuestType<'a> for Clockid[src]

impl<'a> GuestTypeTransparent<'a> for Clockid[src]

impl Hash for Clockid[src]

impl PartialEq<Clockid> for Clockid[src]

impl StructuralEq for Clockid[src]

impl StructuralPartialEq for Clockid[src]

impl TryFrom<i32> for Clockid[src]

type Error = GuestError

The type returned in the event of a conversion error.

impl TryFrom<u32> for Clockid[src]

type Error = GuestError

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for Clockid

impl Send for Clockid

impl Sync for Clockid

impl Unpin for Clockid

impl UnwindSafe for Clockid

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointee for T[src]

type Pointer = u32

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.