pub struct TokioInterval(/* private fields */);Expand description
Associate type for TokioRT
Trait Implementations§
Source§impl TimeInterval for TokioInterval
impl TimeInterval for TokioInterval
Source§fn poll_tick(self: Pin<&mut Self>, ctx: &mut Context<'_>) -> Poll<Instant>
fn poll_tick(self: Pin<&mut Self>, ctx: &mut Context<'_>) -> Poll<Instant>
Poll for the next tick. Read more
Source§fn tick<'a>(&'a mut self) -> TickFuture<'a, Self>where
Self: Sized,
fn tick<'a>(&'a mut self) -> TickFuture<'a, Self>where
Self: Sized,
Wait asynchronously for the next tick. Read more
Source§fn into_stream(self) -> IntervalStream<Self>where
Self: Sized,
fn into_stream(self) -> IntervalStream<Self>where
Self: Sized,
Convert this interval into a stream. Read more
Auto Trait Implementations§
impl Freeze for TokioInterval
impl !RefUnwindSafe for TokioInterval
impl Send for TokioInterval
impl Sync for TokioInterval
impl Unpin for TokioInterval
impl !UnwindSafe for TokioInterval
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