pub struct MojangClient { /* private fields */ }Implementations§
Source§impl MojangClient
impl MojangClient
pub async fn get_manifest(&self) -> ConduitResult<VersionManifest>
pub async fn get_versions_by_type( &self, version_type: &str, ) -> ConduitResult<Vec<VersionEntry>>
pub async fn get_version_details( &self, version_id: &str, ) -> ConduitResult<VersionDetails>
pub async fn get_server_url(&self, version_id: &str) -> ConduitResult<String>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MojangClient
impl !RefUnwindSafe for MojangClient
impl Send for MojangClient
impl Sync for MojangClient
impl Unpin for MojangClient
impl UnsafeUnpin for MojangClient
impl !UnwindSafe for MojangClient
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