List Question
20 TechQA 2024-03-25T18:17:03.213000How to implement a trait method that returns a trait object (of a different trait)
53 views
Asked by felipetg
how to store multiple instances of dyn Trait, where Trait has associated types?
68 views
Asked by Levente Bokor
Lifetime mismatch between function in async trait and implementations
46 views
Asked by E Y
Attempt to create generic queries with Diesel - "first" method with incomplete trait bounds
46 views
Asked by Ismaïl Mourtada
What are the rules for coercing values to trait objects?
152 views
Asked by RBF06
Is static dispatch "almost always" faster than boxed dyn trait dispatch?
544 views
Asked by bluenote10
Static Trait object
67 views
Asked by Ákos Vandra-Meyer
Why doesn't Rust support trait objects with associated constants?
412 views
Asked by Simin Xiong
Rust trait object with generic type parameter
138 views
Asked by junglie85
How do you select a struct based on a string in Rust?
161 views
Asked by RBF06
Why does a method returning &Self makes a trait object-unsafe?
188 views
Asked by Martin Jocqueviel
Implementing traits on boxed Fn trait generics leads to lifetime issues
61 views
Asked by Sam Kinney
Understanding Rust's Trait Objects and Lifetime Annotations in Different Function Signatures
77 views
Asked by Péter Szilvási
How to add lifetime Parameter to Box<> with dyn type alias
65 views
Asked by Sascha
impl trait with move method for trait object of same trait
63 views
Asked by Max888
How to unit test two implementations of a trait?
199 views
Asked by noam cohen
Problem with returning generic type from function
41 views
Asked by Isaksak
How do I fix "cannot be sent between threads safely" when using tokio::spawn and Box<dyn Error>?
2.2k views
Asked by guenhter
Store function returning impl Trait as trait object
65 views
Asked by Max888