Skip to main content

remaining

Function remaining 

Source
fn remaining(deadline: Option<Instant>) -> Duration
Expand description

The budget left before deadline, zero once spent and UNBOUNDED when there is no deadline at all.