A &(dyn Error + 'static) should be fine for that; you don't need any allocated/variable sized data in a memory allocation failure.
stacktraces? might also be useful to know whether or not the latest allocand was a jumbo sized allocand that caused the failure?
stacktraces? might also be useful to know whether or not the latest allocand was a jumbo sized allocand that caused the failure?