pub trait BucketTrait {
    // Required methods
    fn list_buckets<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<ListAllMyBucketsResult, ObsError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn create_bucket<'life0, 'async_trait, S1, S2>(
        &'life0 self,
        name: S1,
        location: Option<S2>
    ) -> Pin<Box<dyn Future<Output = Result<(), ObsError>> + Send + 'async_trait>>
       where S1: AsRef<str> + Send + 'async_trait,
             S2: AsRef<str> + Send + 'async_trait,
             Self: 'async_trait,
             'life0: 'async_trait;
    fn list_objects<'life0, 'life1, 'life2, 'async_trait, S1>(
        &'life0 self,
        name: S1,
        prefix: Option<&'life1 str>,
        marker: Option<&'life2 str>,
        max_keys: Option<usize>
    ) -> Pin<Box<dyn Future<Output = Result<ListBucketResult, ObsError>> + Send + 'async_trait>>
       where S1: AsRef<str> + Send + 'async_trait,
             Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
}

Required Methods§

source

fn list_buckets<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<ListAllMyBucketsResult, ObsError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn create_bucket<'life0, 'async_trait, S1, S2>( &'life0 self, name: S1, location: Option<S2> ) -> Pin<Box<dyn Future<Output = Result<(), ObsError>> + Send + 'async_trait>>where S1: AsRef<str> + Send + 'async_trait, S2: AsRef<str> + Send + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,

source

fn list_objects<'life0, 'life1, 'life2, 'async_trait, S1>( &'life0 self, name: S1, prefix: Option<&'life1 str>, marker: Option<&'life2 str>, max_keys: Option<usize> ) -> Pin<Box<dyn Future<Output = Result<ListBucketResult, ObsError>> + Send + 'async_trait>>where S1: AsRef<str> + Send + 'async_trait, Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Implementors§