Fix E0641: `trait` objects include an associated type
Rust compiler error E0641 occurs when a dyn trait object references a trait that contains an associated type, because the size of the implementing type cannot be determined at runtime without concrete type information.