pub struct ExecutionCounters {
pub command_count: usize,
pub call_depth: usize,
pub output_size: usize,
pub start_time: Instant,
pub substitution_depth: usize,
}Expand description
Execution counters, reset per exec() call.
Fields§
§command_count: usize§call_depth: usize§output_size: usize§start_time: Instant§substitution_depth: usizeImplementations§
Trait Implementations§
Source§impl Clone for ExecutionCounters
impl Clone for ExecutionCounters
Source§fn clone(&self) -> ExecutionCounters
fn clone(&self) -> ExecutionCounters
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 ExecutionCounters
impl Debug for ExecutionCounters
Auto Trait Implementations§
impl Freeze for ExecutionCounters
impl RefUnwindSafe for ExecutionCounters
impl Send for ExecutionCounters
impl Sync for ExecutionCounters
impl Unpin for ExecutionCounters
impl UnsafeUnpin for ExecutionCounters
impl UnwindSafe for ExecutionCounters
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