pub enum Pid<A: Actor + ProcessDispatch> {
Local {
id: Uuid,
addr: Addr<A>,
},
Remote(Uuid),
}
Expand description
Global process identifier. This can be used to send messages to actors on different nodes.
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<A> Freeze for Pid<A>
impl<A> !RefUnwindSafe for Pid<A>
impl<A> Send for Pid<A>
impl<A> Sync for Pid<A>
impl<A> Unpin for Pid<A>
impl<A> !UnwindSafe for Pid<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