pub(crate) trait OptionLog { // Required method fn log_none<F: FnOnce()>(self, f: F) -> Self; }
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".