Top "Trait-objects" questions

For questions related to Trait Objects (dynamically-dispatched objects) in Rust

The trait cannot be made into an object

I have the following code: extern crate futures; // 0.1.24 use futures::Future; use std::io; struct Context; pub trait MyTrait { fn …

generics rust traits dynamic-dispatch trait-objects
Sending trait objects between threads in Rust

I'd like to send a trait object between threads, but can't figure out if it's possible. It seems like it …

rust trait-objects
What makes something a "trait object"?

Recent Rust changes have made "trait objects" more prominent to me, but I only have a nebulous grasp of what …

rust traits trait-objects