1#[cfg(feature = "alloc")] 2mod onceevent; 3#[cfg(feature = "alloc")] 4pub use onceevent::OnceEvent; 5 6pub trait Event { 7 fn fire(self); 8 fn wait(self) -> impl Future; 9}