pub struct FsClient;Implementations§
Trait Implementations§
Source§impl CondowClient for FsClient
impl CondowClient for FsClient
type Location = String
Source§fn get_size(
&self,
location: Self::Location,
) -> BoxFuture<'static, Result<u64, CondowError>>
fn get_size( &self, location: Self::Location, ) -> BoxFuture<'static, Result<u64, CondowError>>
Returns the size of the BLOB at the given location
Source§fn download(
&self,
location: Self::Location,
range: InclusiveRange,
) -> BoxFuture<'static, Result<BytesStream, CondowError>>
fn download( &self, location: Self::Location, range: InclusiveRange, ) -> BoxFuture<'static, Result<BytesStream, CondowError>>
Download a BLOB or part of a BLOB from the given location as specified by the InclusiveRange
Source§fn download_full(
&self,
location: Self::Location,
) -> Pin<Box<dyn Future<Output = Result<BytesStream, CondowError>> + Send>>
fn download_full( &self, location: Self::Location, ) -> Pin<Box<dyn Future<Output = Result<BytesStream, CondowError>> + Send>>
Download a complete BLOB
Auto Trait Implementations§
impl Freeze for FsClient
impl RefUnwindSafe for FsClient
impl Send for FsClient
impl Sync for FsClient
impl Unpin for FsClient
impl UnwindSafe for FsClient
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