pub struct Marker<T, B> { /* private fields */ }
Expand description
Marker struct useful to propagate bounds through the Supervisor generic
Implementations§
Trait Implementations§
source§impl<T, B: Send + Sync + 'static> Channel for Marker<T, B>where
T: Channel,
impl<T, B: Send + Sync + 'static> Channel for Marker<T, B>where
T: Channel,
source§impl<T, C, B: Send + 'static + Sync> ChannelBuilder<Marker<C, B>> for Twhere
T: Send + ChannelBuilder<C>,
C: Channel,
impl<T, C, B: Send + 'static + Sync> ChannelBuilder<Marker<C, B>> for Twhere
T: Send + ChannelBuilder<C>,
C: Channel,
source§fn build_channel<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = ActorResult<Marker<C, B>>> + 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<Marker<C, B>>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
Implement how to build the channel for the corresponding actor