Struct cargo_fetcher::backends::fs::FsBackend
source · pub struct FsBackend { /* private fields */ }Implementations§
Trait Implementations§
source§impl Backend for FsBackend
impl Backend for FsBackend
fn fetch<'life0, 'life1, 'async_trait>( &'life0 self, id: CloudId<'life1> ) -> Pin<Box<dyn Future<Output = Result<Bytes>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,
fn upload<'life0, 'life1, 'async_trait>( &'life0 self, source: Bytes, id: CloudId<'life1> ) -> Pin<Box<dyn Future<Output = Result<usize>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,
fn list<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<Vec<String>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
fn updated<'life0, 'life1, 'async_trait>( &'life0 self, id: CloudId<'life1> ) -> Pin<Box<dyn Future<Output = Result<Option<Timestamp>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,
Auto Trait Implementations§
impl RefUnwindSafe for FsBackend
impl Send for FsBackend
impl Sync for FsBackend
impl Unpin for FsBackend
impl UnwindSafe for FsBackend
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