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