pub struct RegisterActor<A>(pub A, pub ActorType, pub Sender<bool>)
where
A: 'static + Sync + Send + Actor;Tuple Fields§
§0: A§1: ActorType§2: Sender<bool>Trait Implementations§
Source§impl<A> Handler<RegisterActor<A>> for ActorScheduler
impl<A> Handler<RegisterActor<A>> for ActorScheduler
fn handle<'life0, 'life1, 'async_trait>(
&'life0 mut self,
message: RegisterActor<A>,
ctx: &'life1 mut ActorHandlerContext,
) -> Pin<Box<dyn Future<Output = ActorRef<A>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Auto Trait Implementations§
impl<A> Freeze for RegisterActor<A>where
A: Freeze,
impl<A> !RefUnwindSafe for RegisterActor<A>
impl<A> Send for RegisterActor<A>
impl<A> Sync for RegisterActor<A>
impl<A> Unpin for RegisterActor<A>where
A: Unpin,
impl<A> UnsafeUnpin for RegisterActor<A>where
A: UnsafeUnpin,
impl<A> !UnwindSafe for RegisterActor<A>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more