pub(crate) struct Actor2<Actor1RefT>{
pub(crate) _p: PhantomData<Actor1RefT>,
}Fields§
§_p: PhantomData<Actor1RefT>Implementations§
Trait Implementations§
Source§impl<Actor1RefT> TypedMsgHandler<Actor1ToActor2<Actor1RefT>> for Actor2<Actor1RefT>
impl<Actor1RefT> TypedMsgHandler<Actor1ToActor2<Actor1RefT>> for Actor2<Actor1RefT>
fn receive(&mut self, msg: Actor1ToActor2<Actor1RefT>) -> Option<ActorControl>
Auto Trait Implementations§
impl<Actor1RefT> Freeze for Actor2<Actor1RefT>
impl<Actor1RefT> RefUnwindSafe for Actor2<Actor1RefT>where
Actor1RefT: RefUnwindSafe,
impl<Actor1RefT> Send for Actor2<Actor1RefT>
impl<Actor1RefT> Sync for Actor2<Actor1RefT>where
Actor1RefT: Sync,
impl<Actor1RefT> Unpin for Actor2<Actor1RefT>where
Actor1RefT: Unpin,
impl<Actor1RefT> UnwindSafe for Actor2<Actor1RefT>where
Actor1RefT: UnwindSafe,
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