pub struct FilteredRegistry<T: PackageRegistry> { /* private fields */ }Implementations§
Source§impl<T: PackageRegistry> FilteredRegistry<T>
impl<T: PackageRegistry> FilteredRegistry<T>
Trait Implementations§
Source§impl<T: PackageRegistry> PackageRegistry for FilteredRegistry<T>
impl<T: PackageRegistry> PackageRegistry for FilteredRegistry<T>
type R = <T as PackageRegistry>::R
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<T> Freeze for FilteredRegistry<T>where
T: Freeze,
impl<T> RefUnwindSafe for FilteredRegistry<T>where
T: RefUnwindSafe,
impl<T> Send for FilteredRegistry<T>where
T: Send,
impl<T> Sync for FilteredRegistry<T>where
T: Sync,
impl<T> Unpin for FilteredRegistry<T>where
T: Unpin,
impl<T> UnsafeUnpin for FilteredRegistry<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for FilteredRegistry<T>where
T: UnwindSafe,
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