Struct overclock::core::AbortableUnboundedChannel
source · [−]pub struct AbortableUnboundedChannel<E> { /* private fields */ }
Expand description
Abortable tokio unbounded mpsc channel implementation
Implementations
sourceimpl<E> AbortableUnboundedChannel<E>
impl<E> AbortableUnboundedChannel<E>
Trait Implementations
sourceimpl<E: Send + 'static> Channel for AbortableUnboundedChannel<E>
impl<E: Send + 'static> Channel for AbortableUnboundedChannel<E>
type Event = E
type Event = E
The channel Event type
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
sourceimpl<E: Send + 'static, T> ChannelBuilder<AbortableUnboundedChannel<E>> for T where
T: Send,
impl<E: Send + 'static, T> ChannelBuilder<AbortableUnboundedChannel<E>> for T where
T: Send,
sourcefn 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
Auto Trait Implementations
impl<E> !RefUnwindSafe for AbortableUnboundedChannel<E>
impl<E> Send for AbortableUnboundedChannel<E> where
E: Send,
impl<E> Sync for AbortableUnboundedChannel<E> where
E: Send,
impl<E> Unpin for AbortableUnboundedChannel<E>
impl<E> !UnwindSafe for AbortableUnboundedChannel<E>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more