pub struct NoopOutboxStore;NoopOutboxStore must not be instantiated in production builds; use a durable OutboxStore instead
Expand description
An OutboxStore that silently discards all messages.
Every enqueue succeeds without storing anything. pending always
returns an empty list. Use this as the default when outbox delivery is
managed elsewhere or not required.
§⚠️ Data loss warning
NoopOutboxStore discards every outbound message silently. No APERAK,
MSCONS, or UTILMD will ever be delivered to the AS4 endpoint. 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 code must call
EngineBuilder::with_stores instead.
Trait Implementations§
Source§impl Clone for NoopOutboxStore
impl Clone for NoopOutboxStore
Source§fn clone(&self) -> NoopOutboxStore
fn clone(&self) -> NoopOutboxStore
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more