pub trait Connectable:
Send
+ Sync
+ Debug {
// Required method
fn send(&self, message: Message) -> Result<(), ()>;
}
Expand description
Types that implement Connectable
let the holder send channels
to them.
pub trait Connectable:
Send
+ Sync
+ Debug {
// Required method
fn send(&self, message: Message) -> Result<(), ()>;
}
Types that implement Connectable
let the holder send channels
to them.