pub trait UnboundedPooled<C: ChannelFactory>:
Send
+ Sized
+ 'static {
// Required method
fn unbounded_pair( ) -> (C::UnboundedSender<Self>, C::UnboundedReceiver<Self>);
}Expand description
Per-T opt-in for ChannelFactory::unbounded. See
OneshotPooled for the design rationale.
Required Methods§
Sourcefn unbounded_pair() -> (C::UnboundedSender<Self>, C::UnboundedReceiver<Self>)
fn unbounded_pair() -> (C::UnboundedSender<Self>, C::UnboundedReceiver<Self>)
Build a (sender, receiver) pair through C’s unbounded family.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".