
Generics
Rust Error E0038 The Trait Cannot Be Made Into an Object
E0038 means a trait is not dyn compatible, so you cannot write dyn Trait for it. Learn the rules that break it and four ways to restore object safety.
6 min read
Tag
1 post

E0038 means a trait is not dyn compatible, so you cannot write dyn Trait for it. Learn the rules that break it and four ways to restore object safety.