Struct overclock::core::UnboundedChannel
source · pub struct UnboundedChannel<E> { /* private fields */ }
Expand description
A tokio unbounded mpsc channel implementation
Implementations§
source§impl<E> UnboundedChannel<E>
impl<E> UnboundedChannel<E>
Trait Implementations§
source§impl<E: ShutdownEvent + 'static> Channel for UnboundedChannel<E>
impl<E: ShutdownEvent + 'static> Channel for UnboundedChannel<E>
§type Handle = UnboundedHandle<E>
type Handle = UnboundedHandle<E>
The sender half of the channel
§type Inbox = UnboundedInbox<E>
type Inbox = UnboundedInbox<E>
The receiver half of the channel
§type Metric = GenericGauge<AtomicI64>
type Metric = GenericGauge<AtomicI64>
Metric Collector
source§impl<E: ShutdownEvent + 'static, T> ChannelBuilder<UnboundedChannel<E>> for Twhere
T: Send,
impl<E: ShutdownEvent + 'static, T> ChannelBuilder<UnboundedChannel<E>> for Twhere
T: Send,
source§fn build_channel<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = ActorResult<UnboundedChannel<E>>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn build_channel<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = ActorResult<UnboundedChannel<E>>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
Implement how to build the channel for the corresponding actor