pub type Mutex = async_std::sync::Arc>; pub fn mutex(t: T) -> Mutex { async_std::sync::Arc::new(async_std::sync::Mutex::new(t)) }