"Things to Try When You Can't Make a Trait Object"
Trait objects are Rust’s usual mechanism for dynamic dispatch.
This post describes several options for handling an inability to create a trait object, discusses their trade-offs, and describes why the trait object limitations exist in the first place, and what those limitations are exactly.
This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!