pub struct StorageClient { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl BucketApi for StorageClient
impl BucketApi for StorageClient
async fn list_buckets_async(&self) -> Result<Vec<Bucket>, BucketError>
async fn create_bucket_async( &self, bucket_request: Bucket, ) -> Result<String, BucketError>
async fn clear_bucket_async(&self, bucket_id: &str) -> Result<(), BucketError>
async fn delete_bucket_async(&self, bucket_id: &str) -> Result<(), BucketError>
async fn get_bucket_async( &self, bucket_id: &str, ) -> Result<BucketResponse, BucketError>
Auto Trait Implementations§
impl Freeze for StorageClient
impl RefUnwindSafe for StorageClient
impl Send for StorageClient
impl Sync for StorageClient
impl Unpin for StorageClient
impl UnwindSafe for StorageClient
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more