pub struct ListTiming {
pub readdir_ms: u128,
pub stat_ms: u128,
pub sort_ms: u128,
}Expand description
Phase timings for a single listing (milliseconds).
Fields§
§readdir_ms: u128Time spent in readdir / collecting directory entries.
stat_ms: u128Time spent stating paths and building Entry values.
sort_ms: u128Time spent filtering and sorting.
Implementations§
Source§impl ListTiming
impl ListTiming
Sourcepub fn add_assign(&mut self, other: &ListTiming)
pub fn add_assign(&mut self, other: &ListTiming)
Sum another timing into this one (for multi-path runs).
Trait Implementations§
Source§impl Clone for ListTiming
impl Clone for ListTiming
Source§fn clone(&self) -> ListTiming
fn clone(&self) -> ListTiming
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ListTiming
impl Debug for ListTiming
Source§impl Default for ListTiming
impl Default for ListTiming
Source§fn default() -> ListTiming
fn default() -> ListTiming
Returns the “default value” for a type. Read more
impl Eq for ListTiming
Source§impl PartialEq for ListTiming
impl PartialEq for ListTiming
impl StructuralPartialEq for ListTiming
Auto Trait Implementations§
impl Freeze for ListTiming
impl RefUnwindSafe for ListTiming
impl Send for ListTiming
impl Sync for ListTiming
impl Unpin for ListTiming
impl UnsafeUnpin for ListTiming
impl UnwindSafe for ListTiming
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more