Skip to main content

FAR_FUTURE

Constant FAR_FUTURE 

Source
pub const FAR_FUTURE: Duration;
Expand description

The longest delay Instant::saturating_add adds: roughly 30 years. Larger delays overflow the clock on some platforms (100 years does on FreeBSD, 1000 years on macOS). Tokio clamps its sleeps to the same bound.