pub struct S3Store<O: ObjectStore> { /* private fields */ }Trait Implementations§
source§impl<O: ObjectStore> From<O> for S3Store<O>
impl<O: ObjectStore> From<O> for S3Store<O>
source§impl<O: ObjectStore> Fs for S3Store<O>
impl<O: ObjectStore> Fs for S3Store<O>
type File = S3File<O>
async fn open_options( &self, path: &Path, options: OpenOptions, ) -> Result<Self::File, Error>
async fn create_dir_all(_: &Path) -> Result<(), Error>
async fn list( &self, path: &Path, ) -> Result<impl Stream<Item = Result<FileMeta, Error>>, Error>
async fn remove(&self, path: &Path) -> Result<(), Error>
fn open(&self, path: &Path) -> impl Future<Output = Result<Self::File, Error>>
Auto Trait Implementations§
impl<O> Freeze for S3Store<O>
impl<O> RefUnwindSafe for S3Store<O>where
O: RefUnwindSafe,
impl<O> Send for S3Store<O>
impl<O> Sync for S3Store<O>
impl<O> Unpin for S3Store<O>
impl<O> UnwindSafe for S3Store<O>where
O: RefUnwindSafe,
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
source§impl<F> DynFs for Fwhere
F: Fs,
impl<F> DynFs for Fwhere
F: Fs,
fn open_options<'s, 'path>(
&'s self,
path: &'path Path,
options: OpenOptions,
) -> Pin<Box<dyn MaybeSendFuture<Output = Result<Box<dyn DynFile>, Error>> + 's>>where
'path: 's,
fn create_dir_all<'s, 'path>(
&'s self,
path: &'path Path,
) -> Pin<Box<dyn MaybeSendFuture<Output = Result<(), Error>> + 's>>where
'path: 's,
fn list<'s, 'path>(
&'s self,
path: &'path Path,
) -> Pin<Box<dyn MaybeSendFuture<Output = Result<Pin<Box<dyn Stream<Item = Result<FileMeta, Error>> + 's>>, Error>> + 's>>where
'path: 's,
fn remove<'s, 'path>(
&'s self,
path: &'path Path,
) -> Pin<Box<dyn MaybeSendFuture<Output = Result<(), Error>> + 's>>where
'path: 's,
fn open<'s, 'path>(
&'s self,
path: &'path Path,
) -> Pin<Box<dyn MaybeSendFuture<Output = Result<Box<dyn DynFile>, Error>> + 's>>where
'path: 's,
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more