pub enum ActorRef {
Index(ActorId),
Label(String),
}Expand description
An actor reference which can be used to identify an actor in a node by either its index or label.
Variants§
Trait Implementations§
impl Eq for ActorRef
impl StructuralPartialEq for ActorRef
Auto Trait Implementations§
impl Freeze for ActorRef
impl RefUnwindSafe for ActorRef
impl Send for ActorRef
impl Sync for ActorRef
impl Unpin for ActorRef
impl UnsafeUnpin for ActorRef
impl UnwindSafe for ActorRef
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