pub enum ActorSystemCmd {
Register(String, UnboundedSender<Message>, UnboundedSender<()>, UnboundedSender<()>, LifeCycle, Sender<Result<(), ActorError>>, bool),
Restart(String),
Unregister(String),
FilterAddress(String, Sender<Vec<String>>),
FindActor(String, Sender<Option<(UnboundedSender<Message>, bool)>>),
SetLifeCycle(String, LifeCycle),
}Expand description
Commands for the ActorSystem to handle various operations You can send these commands to the ActorSystem’s handler channel directly.
Variants§
Register(String, UnboundedSender<Message>, UnboundedSender<()>, UnboundedSender<()>, LifeCycle, Sender<Result<(), ActorError>>, bool)
Restart(String)
Unregister(String)
FilterAddress(String, Sender<Vec<String>>)
FindActor(String, Sender<Option<(UnboundedSender<Message>, bool)>>)
SetLifeCycle(String, LifeCycle)
Auto Trait Implementations§
impl Freeze for ActorSystemCmd
impl !RefUnwindSafe for ActorSystemCmd
impl Send for ActorSystemCmd
impl Sync for ActorSystemCmd
impl Unpin for ActorSystemCmd
impl !UnwindSafe for ActorSystemCmd
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