pub struct NoopOutboxStore;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
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NoopOutboxStore
Source§impl Debug for NoopOutboxStore
impl Debug for NoopOutboxStore
Source§impl Default for NoopOutboxStore
impl Default for NoopOutboxStore
Source§fn default() -> NoopOutboxStore
fn default() -> NoopOutboxStore
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NoopOutboxStore
impl RefUnwindSafe for NoopOutboxStore
impl Send for NoopOutboxStore
impl Sync for NoopOutboxStore
impl Unpin for NoopOutboxStore
impl UnsafeUnpin for NoopOutboxStore
impl UnwindSafe for NoopOutboxStore
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more