pub trait OutboxPublisher:
Send
+ Sync
+ 'static {
// Required method
fn publish<'a>(
&'a self,
entry: &'a OutboxEntry,
) -> BoxFuture<'a, Result<(), BoxError>>;
}Expand description
Downstream event transport (Kafka, NATS, webhook fan-out, …).
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".