pub struct RemoteCreateActor<A>where
A: Actor + RemoteSpawnable,{
pub label: String,
pub config: Option<String>,
/* private fields */
}Expand description
A command which is used to create an actor in a remote node.
The actor type should have been registered in the remote node’s factory registry. If the
operation is successful, the provided label will be used as the actor label of the new actor
created in the remote node.
Fields§
§label: String§config: Option<String>Implementations§
Source§impl<A> RemoteCreateActor<A>where
A: Actor + RemoteSpawnable,
impl<A> RemoteCreateActor<A>where
A: Actor + RemoteSpawnable,
Trait Implementations§
Source§impl<A> Debug for RemoteCreateActor<A>
impl<A> Debug for RemoteCreateActor<A>
Source§impl<A> Handler<RemoteCreateActor<A>> for Sessionwhere
A: Actor + RemoteSpawnable,
impl<A> Handler<RemoteCreateActor<A>> for Sessionwhere
A: Actor + RemoteSpawnable,
Source§type Result = FutureMessageResult<RemoteCreateActor<A>>
type Result = FutureMessageResult<RemoteCreateActor<A>>
The return type of the handler, which must implement
MessageResponse.Source§impl<A> Message for RemoteCreateActor<A>where
A: Actor + RemoteSpawnable,
impl<A> Message for RemoteCreateActor<A>where
A: Actor + RemoteSpawnable,
Auto Trait Implementations§
impl<A> Freeze for RemoteCreateActor<A>
impl<A> RefUnwindSafe for RemoteCreateActor<A>
impl<A> Send for RemoteCreateActor<A>
impl<A> Sync for RemoteCreateActor<A>
impl<A> Unpin for RemoteCreateActor<A>
impl<A> UnsafeUnpin for RemoteCreateActor<A>
impl<A> UnwindSafe for RemoteCreateActor<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