pub trait OutboxStore:
Send
+ Sync
+ 'static {
// Required methods
fn fetch_pending(
&self,
limit: usize,
) -> Pin<Box<dyn Future<Output = Result<Vec<OutboxEntry>, DataError>> + Send + '_>>;
fn mark_published(
&self,
id: u64,
) -> Pin<Box<dyn Future<Output = Result<(), DataError>> + Send + '_>>;
}Expand description
Committed-but-unpublished entries, fetched/acked by the relay.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".