pub type BoxFnFactory<In, Out> = Box<dyn FnMut(In) -> Box<dyn FnOnce() -> Out + Send + 'static> + Send>;