pub trait OpaqueSender<T> {
// Required method
fn send(&self, message: T);
}Expand description
A trait to abstract away the various kinds of message senders we use.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".