Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardRustobject safety rulesSingle-choice MCQ

Which single feature of this trait makes it NOT object-safe (cannot form `dyn Speaker`), and why?

trait Speaker { fn name(&self) -> String; // 1 fn greet(&self) -> String; // 2 fn make() -> Self where Self: Sized;// 3 fn clone_box(&self) -> Box<dyn Speaker>; // 4 }