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