Struct gix_worktree::stack::delegate::Statistics
source · 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)