ChannelOnceCreator

Trait ChannelOnceCreator 

Source
pub trait ChannelOnceCreator<Runtime>
where Runtime: HasChannelOnceTypes,
{ // Required method fn new_channel_once<T>( ) -> (Runtime::SenderOnce<T>, Runtime::ReceiverOnce<T>) where T: Async; }

Required Methods§

Source

fn new_channel_once<T>() -> (Runtime::SenderOnce<T>, Runtime::ReceiverOnce<T>)
where T: Async,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<Component, Runtime> ChannelOnceCreator<Runtime> for Component