pub struct FlowMetrics {
pub instructions: AtomicU64,
pub messages_sent: AtomicU64,
pub messages_received: AtomicU64,
pub reschedules: AtomicU64,
}Expand description
Live counters for one flow (updated only by the worker currently running it).
Fields§
§instructions: AtomicU64§messages_sent: AtomicU64Atomic hops sent (Send of crate::Value::Message).
messages_received: AtomicU64§reschedules: AtomicU64Trait Implementations§
Source§impl Debug for FlowMetrics
impl Debug for FlowMetrics
Source§impl Default for FlowMetrics
impl Default for FlowMetrics
Source§fn default() -> FlowMetrics
fn default() -> FlowMetrics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for FlowMetrics
impl RefUnwindSafe for FlowMetrics
impl Send for FlowMetrics
impl Sync for FlowMetrics
impl Unpin for FlowMetrics
impl UnsafeUnpin for FlowMetrics
impl UnwindSafe for FlowMetrics
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