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