fn exceeds(start: Option<SystemTime>, end: SystemTime, dur: Duration) -> bool {
    start.map_or(false, |start| {
        end.duration_since(start).unwrap_or_default() > dur
    })
}
/// Returns true if the duration between start and end is grater than a duration, false otherwise.
Returns true if the duration between start and end is grater than a duration, false otherwise.
Returns true if the duration between start and end is grater than a duration false otherwise .
fn exceeds(start: Option<SystemTime>, end: SystemTime, dur: Duration) -> bool {
    start.map_or(false, |start| {
        end.duration_since(start).unwrap_or_default() > dur
    })
}
fn exceeds ( start : Option < SystemTime > , end : SystemTime , dur : Duration ) -> bool { start . map_or ( false , | start | { end . duration_since ( start ) . unwrap_or_default ( ) > dur } ) }
Returns true if the duration between start and end is grater than a duration, false otherwise.
Returns true if the duration between start and end is grater than a duration false otherwise .
start
Option<SystemTime>
end
SystemTime
dur
Duration