pub struct S3File<O: ObjectStore> { /* private fields */ }Trait Implementations§
source§impl<O: ObjectStore> Read for S3File<O>
impl<O: ObjectStore> Read for S3File<O>
async fn read<B: IoBufMut>(&mut self, buf: B) -> (Result<u64, Error>, B)
async fn read_to_end(&mut self, buf: Vec<u8>) -> (Result<(), Error>, Vec<u8>)
async fn size(&self) -> Result<u64, Error>
fn read_exact<B>(
&mut self,
buf: B,
) -> impl Future<Output = (Result<(), Error>, B)> + MaybeSendwhere
B: IoBufMut,
source§impl<O: ObjectStore> Seek for S3File<O>
impl<O: ObjectStore> Seek for S3File<O>
Auto Trait Implementations§
impl<O> Freeze for S3File<O>
impl<O> RefUnwindSafe for S3File<O>where
O: RefUnwindSafe,
impl<O> Send for S3File<O>
impl<O> Sync for S3File<O>
impl<O> Unpin for S3File<O>
impl<O> UnwindSafe for S3File<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<R> DynRead for Rwhere
R: Read,
impl<R> DynRead for Rwhere
R: Read,
fn read( &mut self, buf: SliceMut, ) -> Pin<Box<dyn MaybeSendFuture<Output = (Result<u64, Error>, SliceMut)> + '_>>
fn read_to_end( &mut self, buf: Vec<u8>, ) -> Pin<Box<dyn MaybeSendFuture<Output = (Result<(), Error>, Vec<u8>)> + '_>>
fn size( &self, ) -> Pin<Box<dyn MaybeSendFuture<Output = Result<u64, Error>> + '_>>
source§impl<W> DynWrite for Wwhere
W: Write,
impl<W> DynWrite for Wwhere
W: Write,
fn write_all( &mut self, buf: Slice, ) -> Pin<Box<dyn MaybeSendFuture<Output = (Result<(), Error>, Slice)> + '_>>
fn sync_data( &self, ) -> Pin<Box<dyn MaybeSendFuture<Output = Result<(), Error>> + '_>>
fn sync_all( &self, ) -> Pin<Box<dyn MaybeSendFuture<Output = Result<(), Error>> + '_>>
fn close( &mut self, ) -> Pin<Box<dyn MaybeSendFuture<Output = Result<(), Error>> + '_>>
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