pub struct Timer<'d> { /* private fields */ }Expand description
Address-stable timer storage shared by registrations in one driver scope.
ⓘ
use dope_core::driver::schedule::timer::Timer;
fn require_unpin<T: Unpin>() {}
require_unpin::<Timer<'static>>();Implementations§
Auto Trait Implementations§
impl<'d> !Freeze for Timer<'d>
impl<'d> !RefUnwindSafe for Timer<'d>
impl<'d> !Send for Timer<'d>
impl<'d> !Sync for Timer<'d>
impl<'d> !Unpin for Timer<'d>
impl<'d> !UnsafeUnpin for Timer<'d>
impl<'d> !UnwindSafe for Timer<'d>
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