pub trait Days: Debug + Copy { // Required method fn contains(&self, date: Date) -> bool; }
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".