1 2 3 4 5 6 7 8
use future_form::{future_form, FutureForm}; #[future_form(Sendable, Local)] trait Counter<K: FutureForm> { fn next(&self) -> K::Future<'_, u32>; } fn main() {}