Skip to main content

timings

Function timings 

Source
pub fn timings() -> Timings
Expand description

What this process judges a lease contest by. The declaration when one was read, the constants otherwise.

use majordomus_cli::lease::{timings, Timings};
// this example's process declared nothing: it judges by the constants, and asking again
// answers the same, because the first answer is the one the process keeps
assert_eq!(timings(), Timings::default());
assert_eq!(timings(), timings());