pub struct NoopProcessRegistry;NoopProcessRegistry must not be instantiated in production builds; use a durable ProcessRegistry instead
Expand description
A ProcessRegistry that never stores any mappings.
Every lookup returns None. Use this as the default when routing is
managed externally or not required.
§⚠️ Routing loss warning
NoopProcessRegistry discards every routing registration silently.
All lookup calls return None. Inbound messages for existing processes
will not be routed. Do not use in production when message routing is needed.
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 NoopProcessRegistry
impl Clone for NoopProcessRegistry
Source§fn clone(&self) -> NoopProcessRegistry
fn clone(&self) -> NoopProcessRegistry
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more