pub struct DirectoryRegistry { /* private fields */ }Implementations§
Trait Implementations§
Source§impl PackageRegistry for DirectoryRegistry
impl PackageRegistry for DirectoryRegistry
type R = BufReader<File>
fn index(&self) -> Result<Vec<PackageInfo>, Error>
fn get_by_info<'life0, 'life1, 'async_trait>(
&'life0 self,
info: &'life1 PackageInfo,
) -> Pin<Box<dyn Future<Output = Result<PackagedService<Self::R>, Error>> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn resolve<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
packages: &'life1 [String],
local: bool,
essential_services: &'life2 EssentialServices,
) -> Pin<Box<dyn Future<Output = Result<Vec<PackagedService<Self::R>>, Error>> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Auto Trait Implementations§
impl Freeze for DirectoryRegistry
impl RefUnwindSafe for DirectoryRegistry
impl Send for DirectoryRegistry
impl Sync for DirectoryRegistry
impl Unpin for DirectoryRegistry
impl UnsafeUnpin for DirectoryRegistry
impl UnwindSafe for DirectoryRegistry
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