Crate fastimer_core

Crate fastimer_core 

Source
Expand description

§Fastimer Core APIs

Core traits:

  • MakeDelay: a trait for creating delay futures.
  • Spawn: a trait for spawning futures, this is useful for scheduling tasks.

Utility functions:

Traits§

MakeDelay
A trait for creating delay futures.
Spawn
A trait for spawning futures.

Functions§

far_future
Create a far future instant.
make_instant_from
Create an instant from the given instant and a duration.
make_instant_from_now
Create an instant from Instant::now and a duration.