Skip to main content

Pacer

Trait Pacer 

Source
pub trait Pacer {
    // Required method
    fn wait(&self, secs: u64);
}
Expand description

Pace the device-flow poll loop (auth §7.3): the real bin sleeps secs; the test fake records the interval and returns instantly — so the whole flow runs offline with no real time. A control-plane concern only, kept off the data-plane Clock.

Required Methods§

Source

fn wait(&self, secs: u64)

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§