fn due_shutdown(
scheduled: Option<ScheduledShutdown>,
completed_session: u64,
) -> Option<ShutdownRequest>Expand description
The request of a shutdown that takes effect now that completed_session
has completed: at the first session boundary at or after the scheduled
session, so a schedule that arrives after its session completed still
stops at the next boundary rather than never.