Struct overclock::core::UnboundedChannel
source · pub struct UnboundedChannel<E> { /* private fields */ }
Expand description
A tokio unbounded mpsc channel implementation
Implementations
sourceimpl<E> UnboundedChannel<E>
impl<E> UnboundedChannel<E>
Trait Implementations
sourceimpl<E: ShutdownEvent + 'static> Channel for UnboundedChannel<E>
impl<E: ShutdownEvent + 'static> Channel for UnboundedChannel<E>
type Event = E
type Event = E
The channel Event type
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
sourceimpl<E: ShutdownEvent + 'static, T> ChannelBuilder<UnboundedChannel<E>> for Twhere
T: Send,
impl<E: ShutdownEvent + 'static, T> ChannelBuilder<UnboundedChannel<E>> for Twhere
T: Send,
sourcefn 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
Auto Trait Implementations
impl<E> !RefUnwindSafe for UnboundedChannel<E>
impl<E> Send for UnboundedChannel<E>where
E: Send,
impl<E> Sync for UnboundedChannel<E>where
E: Send,
impl<E> Unpin for UnboundedChannel<E>
impl<E> !UnwindSafe for UnboundedChannel<E>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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