pub struct Statistics {
pub num_mkdir_calls: usize,
pub push_element: usize,
pub push_directory: usize,
pub pop_directory: usize,
}
Expand description
Various aggregate numbers related to the stack delegate itself.
Fields§
§num_mkdir_calls: usize
The amount of std::fs::create_dir
calls.
This only happens if we are in the respective mode to create leading directories efficiently.
push_element: usize
Amount of calls to push a path element.
push_directory: usize
Amount of calls to push a directory.
pop_directory: usize
Amount of calls to pop a directory.
Trait Implementations§
Source§impl Clone for Statistics
impl Clone for Statistics
Source§fn clone(&self) -> Statistics
fn clone(&self) -> Statistics
Returns a copy 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 Statistics
impl Debug for Statistics
Source§impl Default for Statistics
impl Default for Statistics
Source§fn default() -> Statistics
fn default() -> Statistics
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Statistics
impl<'de> Deserialize<'de> for Statistics
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for Statistics
impl Serialize for Statistics
impl Copy for Statistics
Auto Trait Implementations§
impl Freeze for Statistics
impl RefUnwindSafe for Statistics
impl Send for Statistics
impl Sync for Statistics
impl Unpin for Statistics
impl UnwindSafe for Statistics
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