pub struct S3Storage { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Storage for S3Storage
impl Storage for S3Storage
async fn put(&self, path: &str, contents: Vec<u8>) -> Result<()>
async fn put_with( &self, path: &str, contents: Vec<u8>, visibility: Visibility, ) -> Result<()>
async fn get(&self, path: &str) -> Result<Vec<u8>>
async fn exists(&self, path: &str) -> Result<bool>
async fn delete(&self, path: &str) -> Result<()>
async fn size(&self, path: &str) -> Result<u64>
Auto Trait Implementations§
impl !RefUnwindSafe for S3Storage
impl !UnwindSafe for S3Storage
impl Freeze for S3Storage
impl Send for S3Storage
impl Sync for S3Storage
impl Unpin for S3Storage
impl UnsafeUnpin for S3Storage
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