pub struct SmolInterval(/* private fields */);Expand description
Associate type for SmolRT
Trait Implementations§
Source§impl TimeInterval for SmolInterval
impl TimeInterval for SmolInterval
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(self) -> TickFuture<Self>where
Self: Sized,
fn tick(self) -> TickFuture<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 SmolInterval
impl RefUnwindSafe for SmolInterval
impl Send for SmolInterval
impl Sync for SmolInterval
impl Unpin for SmolInterval
impl UnwindSafe for SmolInterval
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