pub enum ActorHandle {
Index(ActorId),
Label(String),
}Expand description
An actor handle which can be used to identify an actor in a node by either its index or label.
Variants§
Trait Implementations§
Source§impl Clone for ActorHandle
impl Clone for ActorHandle
Source§fn clone(&self) -> ActorHandle
fn clone(&self) -> ActorHandle
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ActorHandle
impl Debug for ActorHandle
Source§impl From<&str> for ActorHandle
impl From<&str> for ActorHandle
Source§impl From<String> for ActorHandle
impl From<String> for ActorHandle
Auto Trait Implementations§
impl Freeze for ActorHandle
impl RefUnwindSafe for ActorHandle
impl Send for ActorHandle
impl Sync for ActorHandle
impl Unpin for ActorHandle
impl UnsafeUnpin for ActorHandle
impl UnwindSafe for ActorHandle
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