pub struct NoopDeadlineStore;NoopDeadlineStore must not be instantiated in production builds; use a durable DeadlineStore instead
Expand description
A DeadlineStore that never persists anything.
register succeeds silently; due_now always returns an empty list.
Use this as the default when deadline tracking is not needed.
§⚠️ Silent deadline loss
NoopDeadlineStore discards every deadline registration silently. No
scheduler timeout will ever fire. Missed deadlines are a compliance
violation under BNetzA monitoring. Do not use in production.
This type is available in all build configurations so it can serve as a
default type parameter in EngineBuilder. However, EngineBuilder::new
(which wires this as the default) is only available with the testing
feature or in cfg(test). Production binaries must call
EngineBuilder::with_stores instead.
Trait Implementations§
Source§impl Clone for NoopDeadlineStore
impl Clone for NoopDeadlineStore
Source§fn clone(&self) -> NoopDeadlineStore
fn clone(&self) -> NoopDeadlineStore
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more