pub struct Time<Effect, Event> { /* private fields */ }
Implementations§
Source§impl<Effect, Event> Time<Effect, Event>
impl<Effect, Event> Time<Effect, Event>
pub fn now() -> RequestBuilder<Effect, Event, impl Future<Output = TimeResponse>>
pub fn notify_at( instant: Instant, ) -> (RequestBuilder<Effect, Event, impl Future<Output = TimeResponse>>, TimerHandle)
pub fn notify_after( duration: Duration, ) -> (RequestBuilder<Effect, Event, impl Future<Output = TimeResponse>>, TimerHandle)
Auto Trait Implementations§
impl<Effect, Event> Freeze for Time<Effect, Event>
impl<Effect, Event> RefUnwindSafe for Time<Effect, Event>where
Effect: RefUnwindSafe,
Event: RefUnwindSafe,
impl<Effect, Event> Send for Time<Effect, Event>
impl<Effect, Event> Sync for Time<Effect, Event>
impl<Effect, Event> Unpin for Time<Effect, Event>
impl<Effect, Event> UnwindSafe for Time<Effect, Event>where
Effect: UnwindSafe,
Event: UnwindSafe,
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