[][src]Trait s3ql::bucket::Bucket

pub trait Bucket: S3 {
#[must_use]    pub fn create_s3_bucket<'life0, 'async_trait>(
        &'life0 self,
        bucket_name: String,
        bucket_req: Option<CreateBucketRequest>
    ) -> Pin<Box<dyn Future<Output = Result<CreateBucketOutput, RusotoError<CreateBucketError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn drop_s3_bucket<'life0, 'async_trait>(
        &'life0 self,
        bucket_name: String
    ) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteBucketError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn has_s3_bucket<'life0, 'async_trait>(
        &'life0 self,
        bucket_name: String
    ) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<HeadBucketError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn show_s3_buckets<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<ListBucketsOutput, RusotoError<ListBucketsError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }

Required methods

#[must_use]pub fn create_s3_bucket<'life0, 'async_trait>(
    &'life0 self,
    bucket_name: String,
    bucket_req: Option<CreateBucketRequest>
) -> Pin<Box<dyn Future<Output = Result<CreateBucketOutput, RusotoError<CreateBucketError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

#[must_use]pub fn drop_s3_bucket<'life0, 'async_trait>(
    &'life0 self,
    bucket_name: String
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteBucketError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

#[must_use]pub fn has_s3_bucket<'life0, 'async_trait>(
    &'life0 self,
    bucket_name: String
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<HeadBucketError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

#[must_use]pub fn show_s3_buckets<'life0, 'async_trait>(
    &'life0 self
) -> Pin<Box<dyn Future<Output = Result<ListBucketsOutput, RusotoError<ListBucketsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Loading content...

Implementations on Foreign Types

impl Bucket for S3Client[src]

Loading content...

Implementors

Loading content...