[][src]Struct wasihost_core::wasi_snapshot_preview1::native::subscription_clock

pub struct subscription_clock {
    pub id: clockid,
    pub timeout: timestamp,
    pub precision: timestamp,
    pub flags: subclockflags,
}

The contents of a subscription when type is eventtype::clock.

Fields

id: clockid

The clock against which to compare the timestamp.

timeout: timestamp

The absolute or relative timestamp.

precision: timestamp

The amount of time that the implementation may wait additionally to coalesce with other events.

flags: subclockflags

Flags specifying whether the timeout is absolute or relative

Trait Implementations

impl Clone for subscription_clock[src]

impl Copy for subscription_clock[src]

impl Debug for subscription_clock[src]

impl Default for subscription_clock[src]

impl WasmValue for subscription_clock[src]

Auto Trait Implementations

impl RefUnwindSafe for subscription_clock

impl Send for subscription_clock

impl Sync for subscription_clock

impl Unpin for subscription_clock

impl UnwindSafe for subscription_clock

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, U> Into<U> for T where
    U: From<T>, 
[src]

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

type Output = T

Should always be Self

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

type Owned = T

The resulting type after obtaining ownership.

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.