pub struct FlowTransactionMetrics {
pub reads: usize,
pub writes: usize,
pub removes: usize,
pub state_operations: usize,
}Expand description
Metrics for tracking FlowTransaction operations
Fields§
§reads: usize§writes: usize§removes: usize§state_operations: usizeImplementations§
Source§impl FlowTransactionMetrics
impl FlowTransactionMetrics
pub fn new() -> Self
pub fn increment_reads(&mut self)
pub fn increment_writes(&mut self)
pub fn increment_removes(&mut self)
pub fn increment_state_operations(&mut self)
Trait Implementations§
Source§impl Clone for FlowTransactionMetrics
impl Clone for FlowTransactionMetrics
Source§fn clone(&self) -> FlowTransactionMetrics
fn clone(&self) -> FlowTransactionMetrics
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 moreSource§impl Debug for FlowTransactionMetrics
impl Debug for FlowTransactionMetrics
Source§impl Default for FlowTransactionMetrics
impl Default for FlowTransactionMetrics
Source§fn default() -> FlowTransactionMetrics
fn default() -> FlowTransactionMetrics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FlowTransactionMetrics
impl RefUnwindSafe for FlowTransactionMetrics
impl Send for FlowTransactionMetrics
impl Sync for FlowTransactionMetrics
impl Unpin for FlowTransactionMetrics
impl UnwindSafe for FlowTransactionMetrics
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