pub struct HttpRepository<C, D>{ /* private fields */ }Expand description
A repository accessible over HTTP.
Trait Implementations§
Source§impl<C, D> Debug for HttpRepository<C, D>
impl<C, D> Debug for HttpRepository<C, D>
Source§impl<C, D> RepositoryProvider<D> for HttpRepository<C, D>
impl<C, D> RepositoryProvider<D> for HttpRepository<C, D>
Source§fn fetch_metadata<'a>(
&'a self,
meta_path: &MetadataPath,
version: MetadataVersion,
) -> BoxFuture<'a, Result<Box<dyn AsyncRead + Send + Unpin + 'a>>>
fn fetch_metadata<'a>( &'a self, meta_path: &MetadataPath, version: MetadataVersion, ) -> BoxFuture<'a, Result<Box<dyn AsyncRead + Send + Unpin + 'a>>>
Source§fn fetch_target<'a>(
&'a self,
target_path: &TargetPath,
) -> BoxFuture<'a, Result<Box<dyn AsyncRead + Send + Unpin + 'a>>>
fn fetch_target<'a>( &'a self, target_path: &TargetPath, ) -> BoxFuture<'a, Result<Box<dyn AsyncRead + Send + Unpin + 'a>>>
Fetch the given target. Read more
Auto Trait Implementations§
impl<C, D> !Freeze for HttpRepository<C, D>
impl<C, D> !RefUnwindSafe for HttpRepository<C, D>
impl<C, D> Send for HttpRepository<C, D>
impl<C, D> Sync for HttpRepository<C, D>
impl<C, D> Unpin for HttpRepository<C, D>
impl<C, D> UnsafeUnpin for HttpRepository<C, D>where
C: UnsafeUnpin,
impl<C, D> !UnwindSafe for HttpRepository<C, D>
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