pub struct ActorInfo {
pub path: ActorPath,
pub state: ActorState,
pub core_id: usize,
pub mailbox_depth: usize,
pub mailbox_capacity: usize,
pub restart_count: u32,
pub message_count: u64,
pub total_compute_time_ns: u64,
}Expand description
Point-in-time snapshot of a single actor’s observable state.
Fields§
§path: ActorPath§state: ActorState§core_id: usizeCore index where this actor lives (always 0 for single-core engine).
mailbox_depth: usizeNumber of messages currently queued in the mailbox.
mailbox_capacity: usizeMaximum mailbox capacity (messages).
restart_count: u32Total times this actor path has been restarted by its supervisor.
message_count: u64Total on_message calls that completed without error.
total_compute_time_ns: u64Total wall-clock time spent executing lifecycle hooks in nanoseconds.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ActorInfo
impl RefUnwindSafe for ActorInfo
impl Send for ActorInfo
impl Sync for ActorInfo
impl Unpin for ActorInfo
impl UnsafeUnpin for ActorInfo
impl UnwindSafe for ActorInfo
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