Struct wasi_common::sched::subscription::MonotonicClockSubscription
source · 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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more