Struct wasi_common::sched::subscription::MonotonicClockSubscription [−][src]
pub struct MonotonicClockSubscription<'a> {
pub clock: &'a dyn WasiMonotonicClock,
pub deadline: Instant,
pub precision: Duration,
}
Fields
clock: &'a dyn WasiMonotonicClock
deadline: Instant
precision: Duration
Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for MonotonicClockSubscription<'a>
impl<'a> Send for MonotonicClockSubscription<'a>
impl<'a> Sync for MonotonicClockSubscription<'a>
impl<'a> Unpin for MonotonicClockSubscription<'a>
impl<'a> !UnwindSafe for MonotonicClockSubscription<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more