pub struct LiteLoaderCatalog { /* private fields */ }Implementations§
Source§impl LiteLoaderCatalog
impl LiteLoaderCatalog
pub fn new(source: LiteLoaderSource) -> Self
pub fn with_defaults() -> Self
pub async fn game_versions(&self) -> Result<Vec<GameVersion>>
pub async fn loader_versions( &self, game_version: &MinecraftVersionId, ) -> Result<Vec<LoaderRelease>>
Trait Implementations§
Source§impl Clone for LiteLoaderCatalog
impl Clone for LiteLoaderCatalog
Auto Trait Implementations§
impl Forget for LiteLoaderCatalog
impl Freeze for LiteLoaderCatalogwhere
*const ArcInner<RwLock<ClientState>> is !null: Freeze,
PhantomData<ArcInner<RwLock<ClientState>>>: Freeze,
*const [Pos] is !null: Freeze,
PhantomData<[Pos]>: Freeze,
*const u8 is !null: Freeze,
PhantomData<Bucket<HeaderValue>>: Freeze,
PhantomData<ExtraValue<HeaderValue>>: Freeze,
PhantomData<(String, Url)>: Freeze,
impl Move for LiteLoaderCatalog
impl RefUnwindSafe for LiteLoaderCatalogwhere
Atomic<usize>: RefUnwindSafe,
RwLock<ClientState>: RefUnwindSafe,
Atomic<*mut ()>: RefUnwindSafe,
impl Send for LiteLoaderCatalog
impl Sync for LiteLoaderCatalog
impl Unpin for LiteLoaderCatalog
impl UnsafeUnpin for LiteLoaderCatalogwhere
*const ArcInner<RwLock<ClientState>> is !null: UnsafeUnpin,
PhantomData<ArcInner<RwLock<ClientState>>>: UnsafeUnpin,
*const [Pos] is !null: UnsafeUnpin,
PhantomData<[Pos]>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<Bucket<HeaderValue>>: UnsafeUnpin,
PhantomData<ExtraValue<HeaderValue>>: UnsafeUnpin,
PhantomData<(String, Url)>: UnsafeUnpin,
impl UnwindSafe for LiteLoaderCatalogwhere
Arc<RwLock<ClientState>>: UnwindSafe,
BoxRaw<[Pos]>: UnwindSafe,
RawVecInner: UnwindSafe,
*const u8: UnwindSafe,
Align8<*mut ()>: UnwindSafe,
&'static Vtable: 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