pub struct FileSystem { /* private fields */ }Expand description
A S3 storage implementation based on file system
Implementations
Trait Implementations
sourceimpl Debug for FileSystem
impl Debug for FileSystem
sourceimpl S3Storage for FileSystem
impl S3Storage for FileSystem
sourcefn create_bucket<'life0, 'async_trait>(
&'life0 self,
input: CreateBucketRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<CreateBucketOutput, CreateBucketError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_bucket<'life0, 'async_trait>(
&'life0 self,
input: CreateBucketRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<CreateBucketOutput, CreateBucketError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
See CreateBucket
sourcefn copy_object<'life0, 'async_trait>(
&'life0 self,
input: CopyObjectRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<CopyObjectOutput, CopyObjectError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn copy_object<'life0, 'async_trait>(
&'life0 self,
input: CopyObjectRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<CopyObjectOutput, CopyObjectError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
See CopyObject
sourcefn delete_bucket<'life0, 'async_trait>(
&'life0 self,
input: DeleteBucketRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<DeleteBucketOutput, DeleteBucketError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_bucket<'life0, 'async_trait>(
&'life0 self,
input: DeleteBucketRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<DeleteBucketOutput, DeleteBucketError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
See DeleteBucket
sourcefn delete_object<'life0, 'async_trait>(
&'life0 self,
input: DeleteObjectRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<DeleteObjectOutput, DeleteObjectError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_object<'life0, 'async_trait>(
&'life0 self,
input: DeleteObjectRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<DeleteObjectOutput, DeleteObjectError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
See DeleteObject
sourcefn delete_objects<'life0, 'async_trait>(
&'life0 self,
input: DeleteObjectsRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<DeleteObjectsOutput, DeleteObjectsError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_objects<'life0, 'async_trait>(
&'life0 self,
input: DeleteObjectsRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<DeleteObjectsOutput, DeleteObjectsError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
See DeleteObject
sourcefn get_bucket_location<'life0, 'async_trait>(
&'life0 self,
input: GetBucketLocationRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<GetBucketLocationOutput, GetBucketLocationError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_bucket_location<'life0, 'async_trait>(
&'life0 self,
input: GetBucketLocationRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<GetBucketLocationOutput, GetBucketLocationError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
sourcefn get_object<'life0, 'async_trait>(
&'life0 self,
input: GetObjectRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<GetObjectOutput, GetObjectError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_object<'life0, 'async_trait>(
&'life0 self,
input: GetObjectRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<GetObjectOutput, GetObjectError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
See GetObject
sourcefn head_bucket<'life0, 'async_trait>(
&'life0 self,
input: HeadBucketRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<HeadBucketOutput, HeadBucketError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn head_bucket<'life0, 'async_trait>(
&'life0 self,
input: HeadBucketRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<HeadBucketOutput, HeadBucketError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
See HeadBucket
sourcefn head_object<'life0, 'async_trait>(
&'life0 self,
input: HeadObjectRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<HeadObjectOutput, HeadObjectError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn head_object<'life0, 'async_trait>(
&'life0 self,
input: HeadObjectRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<HeadObjectOutput, HeadObjectError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
See HeadObject
sourcefn list_buckets<'life0, 'async_trait>(
&'life0 self,
__arg1: ListBucketsRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<ListBucketsOutput, ListBucketsError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_buckets<'life0, 'async_trait>(
&'life0 self,
__arg1: ListBucketsRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<ListBucketsOutput, ListBucketsError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
See ListBuckets
sourcefn list_objects<'life0, 'async_trait>(
&'life0 self,
input: ListObjectsRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<ListObjectsOutput, ListObjectsError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_objects<'life0, 'async_trait>(
&'life0 self,
input: ListObjectsRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<ListObjectsOutput, ListObjectsError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
See ListObjects
sourcefn list_objects_v2<'life0, 'async_trait>(
&'life0 self,
input: ListObjectsV2Request
) -> Pin<Box<dyn Future<Output = S3StorageResult<ListObjectsV2Output, ListObjectsV2Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_objects_v2<'life0, 'async_trait>(
&'life0 self,
input: ListObjectsV2Request
) -> Pin<Box<dyn Future<Output = S3StorageResult<ListObjectsV2Output, ListObjectsV2Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
See ListObjectsV2
sourcefn put_object<'life0, 'async_trait>(
&'life0 self,
input: PutObjectRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<PutObjectOutput, PutObjectError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn put_object<'life0, 'async_trait>(
&'life0 self,
input: PutObjectRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<PutObjectOutput, PutObjectError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
See PutObject
sourcefn create_multipart_upload<'life0, 'async_trait>(
&'life0 self,
input: CreateMultipartUploadRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<CreateMultipartUploadOutput, CreateMultipartUploadError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_multipart_upload<'life0, 'async_trait>(
&'life0 self,
input: CreateMultipartUploadRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<CreateMultipartUploadOutput, CreateMultipartUploadError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
sourcefn upload_part<'life0, 'async_trait>(
&'life0 self,
input: UploadPartRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<UploadPartOutput, UploadPartError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn upload_part<'life0, 'async_trait>(
&'life0 self,
input: UploadPartRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<UploadPartOutput, UploadPartError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
See UploadPart
sourcefn complete_multipart_upload<'life0, 'async_trait>(
&'life0 self,
input: CompleteMultipartUploadRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<CompleteMultipartUploadOutput, CompleteMultipartUploadError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn complete_multipart_upload<'life0, 'async_trait>(
&'life0 self,
input: CompleteMultipartUploadRequest
) -> Pin<Box<dyn Future<Output = S3StorageResult<CompleteMultipartUploadOutput, CompleteMultipartUploadError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Auto Trait Implementations
impl RefUnwindSafe for FileSystem
impl Send for FileSystem
impl Sync for FileSystem
impl Unpin for FileSystem
impl UnwindSafe for FileSystem
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more