pub struct LoaderMetaCatalog<E>where
E: LoaderMetaEndpoints,{ /* private fields */ }Implementations§
Source§impl<E> LoaderMetaCatalog<E>where
E: LoaderMetaEndpoints,
impl<E> LoaderMetaCatalog<E>where
E: LoaderMetaEndpoints,
pub fn new(source: LoaderMetaSource<E>) -> Self
pub fn with_defaults() -> Selfwhere
E: Default,
pub fn source(&self) -> &LoaderMetaSource<E>
Trait Implementations§
Source§impl<E> GameVersionCatalog for LoaderMetaCatalog<E>where
E: LoaderMetaEndpoints,
impl<E> GameVersionCatalog for LoaderMetaCatalog<E>where
E: LoaderMetaEndpoints,
fn game_versions<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<GameVersion>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl<E> LoaderVersionCatalog for LoaderMetaCatalog<E>where
E: LoaderMetaEndpoints,
impl<E> LoaderVersionCatalog for LoaderMetaCatalog<E>where
E: LoaderMetaEndpoints,
fn loader_versions<'life0, 'life1, 'async_trait>(
&'life0 self,
game_version: &'life1 MinecraftVersionId,
) -> Pin<Box<dyn Future<Output = Result<Vec<LoaderRelease>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Auto Trait Implementations§
impl<E> !RefUnwindSafe for LoaderMetaCatalog<E>
impl<E> !UnwindSafe for LoaderMetaCatalog<E>
impl<E> Forget for LoaderMetaCatalog<E>
impl<E> Freeze for LoaderMetaCatalog<E>where
LoaderMetaSource<E>: Freeze,
impl<E> Move for LoaderMetaCatalog<E>
impl<E> Send for LoaderMetaCatalog<E>where
LoaderMetaSource<E>: Send,
impl<E> Sync for LoaderMetaCatalog<E>where
LoaderMetaSource<E>: Sync,
impl<E> Unpin for LoaderMetaCatalog<E>where
LoaderMetaSource<E>: Unpin,
impl<E> UnsafeUnpin for LoaderMetaCatalog<E>where
LoaderMetaSource<E>: UnsafeUnpin,
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