pub struct ActorRef {
pub address: Arc<str>,
pub incarnation: u64,
}Expand description
An actor identity: its address and incarnation. Serialized as XState’s
{ "@actor": address, "incarnation": "<n>" }.
Fields§
§address: Arc<str>§incarnation: u64Implementations§
Trait Implementations§
impl Eq for ActorRef
impl StructuralPartialEq for ActorRef
Auto Trait Implementations§
impl Forget for ActorRef
impl Freeze for ActorRef
impl Move 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.