Skip to main content

ReplicationDiffApi

Trait ReplicationDiffApi 

Source
pub trait ReplicationDiffApi: Send + Sync {
    // Required method
    fn replication_diff<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        bucket: &'life1 str,
        prefix: Option<&'life2 str>,
    ) -> Pin<Box<dyn Future<Output = Result<ReplicationDiff>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
}
Expand description

Read-only RustFS replication diff operations.

Required Methods§

Source

fn replication_diff<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, bucket: &'life1 str, prefix: Option<&'life2 str>, ) -> Pin<Box<dyn Future<Output = Result<ReplicationDiff>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Scan a bucket, optionally below a prefix, for pending or failed versions.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§