pub struct AddActor<A>where
A: Actor + RemoteAddressable,{
pub label: String,
pub address: Address<A>,
/* private fields */
}Expand description
A command which is used to add a remote addressable actor to a node.
The label is registered alongside the address so the actor can later be looked up by label
from a remote node. Returns false if either the label or the actor is already registered.
Fields§
§label: String§address: Address<A>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<A> !RefUnwindSafe for AddActor<A>
impl<A> !UnwindSafe for AddActor<A>
impl<A> Freeze for AddActor<A>
impl<A> Send for AddActor<A>
impl<A> Sync for AddActor<A>
impl<A> Unpin for AddActor<A>
impl<A> UnsafeUnpin for AddActor<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