pub struct Marker<T, B> { /* private fields */ }
Expand description
Marker struct useful to propagate bounds through the Supervisor generic
Implementations
Trait Implementations
sourceimpl<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,
sourceimpl<T, C, B: Send + 'static + Sync> ChannelBuilder<Marker<C, B>> for T where
T: Send + ChannelBuilder<C>,
C: Channel,
impl<T, C, B: Send + 'static + Sync> ChannelBuilder<Marker<C, B>> for T where
T: Send + ChannelBuilder<C>,
C: Channel,
sourcefn 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
Auto Trait Implementations
impl<T, B> RefUnwindSafe for Marker<T, B> where
B: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, B> Send for Marker<T, B> where
B: Send,
T: Send,
impl<T, B> Sync for Marker<T, B> where
B: Sync,
T: Sync,
impl<T, B> Unpin for Marker<T, B> where
B: Unpin,
T: Unpin,
impl<T, B> UnwindSafe for Marker<T, B> where
B: UnwindSafe,
T: UnwindSafe,
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