pub trait DowncastSend: Downcast + Send {
// Required method
fn into_any_send(self: Box<Self>) -> Box<dyn Any + Send>;
}Expand description
Extends Downcast for Send traits to support upcasting to Box<dyn Any + Send> as well.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".