pub trait Produce<T>: Send + Sync {
// Required method
fn send(&self, message: T) -> Result<(), Undeliverable<T>>;
}Expand description
A transport’s producing half.
Required Methods§
fn send(&self, message: T) -> Result<(), Undeliverable<T>>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".