pub trait UsageScanApi: Send + Sync {
// Required method
fn scan_usage<'life0, 'life1, 'async_trait>(
&'life0 self,
request: &'life1 UsageScanRequest,
) -> Pin<Box<dyn Future<Output = Result<UsageReport>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}Expand description
Adapter boundary for a portable S3 usage scan.
Required Methods§
Sourcefn scan_usage<'life0, 'life1, 'async_trait>(
&'life0 self,
request: &'life1 UsageScanRequest,
) -> Pin<Box<dyn Future<Output = Result<UsageReport>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn scan_usage<'life0, 'life1, 'async_trait>(
&'life0 self,
request: &'life1 UsageScanRequest,
) -> Pin<Box<dyn Future<Output = Result<UsageReport>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Scan usage using paginated S3 APIs.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".