pub enum Route {
Local,
Remote(Arc<dyn Mailbox>),
Hold,
}Expand description
Where an actor lives now.
Variants§
Local
On this node.
Remote(Arc<dyn Mailbox>)
On another node, reached through this mailbox.
Hold
Nowhere yet: keep the message here and do not activate the actor.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Route
impl !UnwindSafe for Route
impl Forget for Route
impl Freeze for Route
impl Move for Route
impl Send for Route
impl Sync for Route
impl Unpin for Route
impl UnsafeUnpin for Route
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