parallel_disk_usage/tree_builder/
info.rs

1use crate::size;
2use derive_more::From;
3use smart_default::SmartDefault;
4
5/// Information to return from `get_info` of [`super::TreeBuilder`].
6#[derive(Debug, SmartDefault, From)]
7pub struct Info<Name, Size: size::Size> {
8    /// Size associated with given `path`.
9    pub size: Size,
10    /// Direct descendants of given `path`.
11    pub children: Vec<Name>,
12}