pub struct NodeStats {
pub activations: BTreeMap<Address, u64>,
pub deactivations: u64,
pub turns: u64,
pub replayed: u64,
pub worker_concurrency: BTreeMap<Address, usize>,
pub restarts: Vec<(Address, i64)>,
}Expand description
Counters for observing a node.
Fields§
§activations: BTreeMap<Address, u64>Activations created, per address.
deactivations: u64Deactivations.
turns: u64Turns that appended an entry.
replayed: u64Macrosteps re-run by replay.
worker_concurrency: BTreeMap<Address, usize>The highest number of concurrently running worker turns seen, per address.
restarts: Vec<(Address, i64)>Child restarts: (child, time scheduled for).
Trait Implementations§
Auto Trait Implementations§
impl Forget for NodeStats
impl Freeze for NodeStats
impl Move for NodeStats
impl RefUnwindSafe for NodeStats
impl Send for NodeStats
impl Sync for NodeStats
impl Unpin for NodeStats
impl UnsafeUnpin for NodeStats
impl UnwindSafe for NodeStats
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