Struct flechasdb_s3::syncfs::S3FileSystem
source · pub struct S3FileSystem { /* private fields */ }
Expand description
Synchronous FileSystem
on Amazon S3.
Implementations§
source§impl S3FileSystem
impl S3FileSystem
Trait Implementations§
source§impl FileSystem for S3FileSystem
impl FileSystem for S3FileSystem
§type HashedFileOut = S3HashedFileOut
type HashedFileOut = S3HashedFileOut
File that calculates the hash of its contents.
§type HashedFileIn = S3HashedFileIn
type HashedFileIn = S3HashedFileIn
File whose contents can be verified with the hash.
source§fn create_hashed_file(&self) -> Result<Self::HashedFileOut, Error>
fn create_hashed_file(&self) -> Result<Self::HashedFileOut, Error>
Creates a file that calculates the hash of its contents.
source§fn create_hashed_file_in(
&self,
path: impl AsRef<str>
) -> Result<Self::HashedFileOut, Error>
fn create_hashed_file_in( &self, path: impl AsRef<str> ) -> Result<Self::HashedFileOut, Error>
Creates a hashed file in a given directory.
source§fn open_hashed_file(
&self,
path: impl AsRef<str>
) -> Result<Self::HashedFileIn, Error>
fn open_hashed_file( &self, path: impl AsRef<str> ) -> Result<Self::HashedFileIn, Error>
Opens a file whose contents can be verified with a hash.
§fn create_compressed_hashed_file(
&self
) -> Result<CompressedHashedFileOut<Self::HashedFileOut>, Error>
fn create_compressed_hashed_file( &self ) -> Result<CompressedHashedFileOut<Self::HashedFileOut>, Error>
Creates a compressed file that calculates the hash of its contents.
§fn create_compressed_hashed_file_in(
&self,
path: impl AsRef<str>
) -> Result<CompressedHashedFileOut<Self::HashedFileOut>, Error>
fn create_compressed_hashed_file_in( &self, path: impl AsRef<str> ) -> Result<CompressedHashedFileOut<Self::HashedFileOut>, Error>
Creates a compressed hashed file in a given directory.
§fn open_compressed_hashed_file(
&self,
path: impl AsRef<str>
) -> Result<CompressedHashedFileIn<Self::HashedFileIn>, Error>
fn open_compressed_hashed_file( &self, path: impl AsRef<str> ) -> Result<CompressedHashedFileIn<Self::HashedFileIn>, Error>
Opens a compressed file whose contents can be verified with a hash.
Auto Trait Implementations§
impl !RefUnwindSafe for S3FileSystem
impl Send for S3FileSystem
impl Sync for S3FileSystem
impl Unpin for S3FileSystem
impl !UnwindSafe for S3FileSystem
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