pub trait Connectable:
Send
+ Sync
+ Debug {
// Required method
fn send(&self, channel: Channel) -> Result<(), ()>;
}Expand description
Types that implement Connectable let the holder send channels
to them.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".