pub struct DirectoryTreeStructure {
pub files_per_directory: u64,
pub directories_per_directory: u64,
pub max_depth: u32,
}
Expand description
Describes the structure of a directory tree to be benchmarked.
Fields§
§files_per_directory: u64
The number of files that will be created within each directory.
directories_per_directory: u64
The number of subdirectories that will be created within each directory. No subdirectories are created once |max_depth| is reached.
max_depth: u32
Specifies how many levels of directories to create.
Trait Implementations§
Source§impl Clone for DirectoryTreeStructure
impl Clone for DirectoryTreeStructure
Source§fn clone(&self) -> DirectoryTreeStructure
fn clone(&self) -> DirectoryTreeStructure
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 moreimpl Copy for DirectoryTreeStructure
Auto Trait Implementations§
impl Freeze for DirectoryTreeStructure
impl RefUnwindSafe for DirectoryTreeStructure
impl Send for DirectoryTreeStructure
impl Sync for DirectoryTreeStructure
impl Unpin for DirectoryTreeStructure
impl UnwindSafe for DirectoryTreeStructure
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§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
)