[][src]Struct wasihost_core::wasi_snapshot_preview1::SubscriptionClock

pub struct SubscriptionClock {
    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 SubscriptionClock[src]

impl Copy for SubscriptionClock[src]

impl Debug for SubscriptionClock[src]

impl WasiValue for SubscriptionClock[src]

type NativeType = subscription_clock

The native WASM type.

Auto Trait Implementations

impl RefUnwindSafe for SubscriptionClock

impl Send for SubscriptionClock

impl Sync for SubscriptionClock

impl Unpin for SubscriptionClock

impl UnwindSafe for SubscriptionClock

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.