We can't find the internet
Attempting to reconnect
Something went wrong!
Attempting to reconnect
Trait Objects practice problems in Rust
Difficulty:
Category & tags Filters active
Category:
Tag:
Showing 9 of 9
| Title | Difficulty | Category | Tags |
|---|---|---|---|
| Box<dyn Trait>: trait objects, DSTs and dynamic dispatch | Medium | Primitives |
|
| Boxed errors and downcasting | Medium | Primitives |
|
| Closures 101: build a pipeline of boxed closures | Easy | Primitives |
|
| Dispatch through Rc: Rc<dyn Trait> and shared behaviour | Medium | Primitives |
|
| Keep concrete methods while enabling trait objects | Hard | Primitives |
|
| move: when the closure must own its captures | Medium | Primitives |
|
| Static vs dynamic dispatch | Hard | End-to-End |
|
| Store owned and borrowed closures in registries | Hard | End-to-End |
|
| Trait objects and lifetimes: Box<dyn Trait + 'a> | Hard | Primitives |
|