pub trait Transport:
Debug
+ Send
+ Sync {
// Required method
fn channel<T: Send + 'static>(&self) -> (Outbox<T>, Mailbox<T>);
}Expand description
Creates the two ends of a one-way message channel.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".