pub trait AsyncDirectiveOutboxReader: Send + Sync {
// Required methods
fn directive_outbox_exists<'life0, 'life1, 'async_trait>(
&'life0 self,
directive_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn get_directive_status<'life0, 'life1, 'async_trait>(
&'life0 self,
directive_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<DirectiveStatusRow>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn get_withdrawal_history<'life0, 'life1, 'async_trait>(
&'life0 self,
wallet: &'life1 WalletAddress,
limit: i64,
) -> Pin<Box<dyn Future<Output = Result<Vec<DirectiveStatusRow>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn list_directive_outbox_delivery_metrics<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<DirectiveOutboxDeliveryMetricsRow>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn list_recent_directive_outbox_rows<'life0, 'async_trait>(
&'life0 self,
limit: i64,
offset: i64,
) -> Pin<Box<dyn Future<Output = Result<Vec<DirectiveOutboxRecentRow>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Required Methods§
Sourcefn directive_outbox_exists<'life0, 'life1, 'async_trait>(
&'life0 self,
directive_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn directive_outbox_exists<'life0, 'life1, 'async_trait>(
&'life0 self,
directive_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Check whether a directive outbox row exists for the given directive_id.
Sourcefn get_directive_status<'life0, 'life1, 'async_trait>(
&'life0 self,
directive_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<DirectiveStatusRow>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_directive_status<'life0, 'life1, 'async_trait>(
&'life0 self,
directive_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<DirectiveStatusRow>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Look up the delivery status of a single directive by its ID.
Sourcefn get_withdrawal_history<'life0, 'life1, 'async_trait>(
&'life0 self,
wallet: &'life1 WalletAddress,
limit: i64,
) -> Pin<Box<dyn Future<Output = Result<Vec<DirectiveStatusRow>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_withdrawal_history<'life0, 'life1, 'async_trait>(
&'life0 self,
wallet: &'life1 WalletAddress,
limit: i64,
) -> Pin<Box<dyn Future<Output = Result<Vec<DirectiveStatusRow>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Return withdrawal directive history for a wallet, most recent first.
Sourcefn list_directive_outbox_delivery_metrics<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<DirectiveOutboxDeliveryMetricsRow>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn list_directive_outbox_delivery_metrics<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<DirectiveOutboxDeliveryMetricsRow>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Return retryable directive delivery backlog grouped by stable low-cardinality labels.
Sourcefn list_recent_directive_outbox_rows<'life0, 'async_trait>(
&'life0 self,
limit: i64,
offset: i64,
) -> Pin<Box<dyn Future<Output = Result<Vec<DirectiveOutboxRecentRow>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn list_recent_directive_outbox_rows<'life0, 'async_trait>(
&'life0 self,
limit: i64,
offset: i64,
) -> Pin<Box<dyn Future<Output = Result<Vec<DirectiveOutboxRecentRow>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Return recent directive outbox rows for operator debugging.