Trait near_lake_framework::s3_client::S3Client

source ·
pub trait S3Client: Send + Sync {
    // Required methods
    fn get_object_bytes<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        bucket: &'life1 str,
        prefix: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, GetObjectBytesError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
    fn list_common_prefixes<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        bucket: &'life1 str,
        start_after_prefix: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<String>, ListCommonPrefixesError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
}

Required Methods§

source

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

source

fn list_common_prefixes<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, bucket: &'life1 str, start_after_prefix: &'life2 str ) -> Pin<Box<dyn Future<Output = Result<Vec<String>, ListCommonPrefixesError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Implementors§