pub fn time_until_next_slot(slot_duration: Duration) -> Duration
Expand description

Returns the duration until the next slot from now.