Trait cfdp::time::CountdownProvider

source ·
pub trait CountdownProvider: Debug {
    // Required methods
    fn has_expired(&self) -> bool;
    fn reset(&mut self);
}
Expand description

Generic abstraction for a check/countdown timer.

Required Methods§

source

fn has_expired(&self) -> bool

source

fn reset(&mut self)

Implementors§

source§

impl CountdownProvider for StdCountdown

Available on crate feature std only.