pub trait Sender<D: Data>: Sync + Send + Clone {
// Required method
fn send(&self, data: D, recipient: Recipient) -> Result<(), SendError>;
}
Expand description
For sending arbitrary messages.
Required Methods§
Object Safety§
This trait is not object safe.