Skip to main content

Module time

Module time 

Source

Traitsยง

Duration
Instant
Trait representing instants in time. Allows using maybenot frameworks with custom time sources. If you want to use maybenot with a different time source than std::time::Instant, implement this trait for your instant type, and the Duration trait for your corresponding duration type.