Struct overclock::core::NullChannel
source · [−]pub struct NullChannel;
Expand description
Null channel
Trait Implementations
sourceimpl Channel for NullChannel
impl Channel for NullChannel
type Handle = NullHandle
type Handle = NullHandle
The sender half of the channel
type Metric = GenericGauge<AtomicI64>
type Metric = GenericGauge<AtomicI64>
Metric Collector
sourceimpl<T> ChannelBuilder<NullChannel> for T where
T: Send,
impl<T> ChannelBuilder<NullChannel> for T where
T: Send,
sourcefn build_channel<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = ActorResult<NullChannel>> + 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<NullChannel>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Implement how to build the channel for the corresponding actor
Auto Trait Implementations
impl RefUnwindSafe for NullChannel
impl Send for NullChannel
impl Sync for NullChannel
impl Unpin for NullChannel
impl UnwindSafe for NullChannel
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