1 2 3 4 5 6
use crate::Result; use std::future::Future; pub trait World: Sized + Send + Sync + 'static { fn new() -> impl Future<Output = Result<Self>> + Send; }