pub struct ActorEntry {
pub id: String,
pub name: String,
pub state: ActorState,
pub mailbox: Sender<Message>,
pub protected: bool,
pub metrics: Arc<ActorMetrics>,
pub supervisor_id: Option<String>,
}Expand description
Metadata stored in the registry alongside each actor’s mailbox sender.
Fields§
§id: String§name: String§state: ActorState§mailbox: Sender<Message>§protected: boolWhether this actor is protected from external kill commands.
metrics: Arc<ActorMetrics>Runtime metrics for this actor.
supervisor_id: Option<String>ID of the supervisor overseeing this actor, if any.
Trait Implementations§
Source§impl Clone for ActorEntry
impl Clone for ActorEntry
Source§fn clone(&self) -> ActorEntry
fn clone(&self) -> ActorEntry
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 moreAuto Trait Implementations§
impl Freeze for ActorEntry
impl RefUnwindSafe for ActorEntry
impl Send for ActorEntry
impl Sync for ActorEntry
impl Unpin for ActorEntry
impl UnwindSafe for ActorEntry
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