I want to do the following but without a where clause as the generics get out of hand and I don't even know how to properly fill them out. Is there a way to do this without the use of generics?
pub enum PreparedMigration<F, Fut> where
F: FnOnce(&DatabaseConnection) -> Fut,
Fut: Future<Output = bool>{
Simple(String),
Statement(Statement),
Closure(F)
}