minecraft-essentials 0.2.11

A Package that gives all Minecraft client launchers essentials.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#![forbid(unsafe_code, missing_docs)]
#![warn(clippy::pedantic)]

use std::future::Future;

pub trait Async<O>: Future<Output = O> {}
impl<T, O> Async<O> for T where T: Future<Output = O> {}
pub trait AsyncSend<O>: Send + Async<O> {}
impl<T, O> AsyncSend<O> for T where T: Async<O> + Send {}
pub trait AsyncSync<O>: Sync + Async<O> {}
impl<T, O> AsyncSync<O> for T where T: Async<O> + Sync {}
pub trait AsyncSendSync<O>: Send + Async<O> + Sync {}
impl<T, O> AsyncSendSync<O> for T where T: Async<O> + Send + Sync {}