pub trait TaskInbox:
Send
+ Sync
+ Debug {
// Required method
fn deliver(&self, message: String) -> Result<(), String>;
}Expand description
Delivers a message to a running task’s work.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".