pub struct CollectedPaths {
pub files: Vec<(PathBuf, Metadata)>,
pub directories: Vec<(PathBuf, Metadata)>,
pub excluded_count: usize,
pub total_file_bytes: u64,
pub collection_errors: Vec<(PathBuf, String)>,
}Fields§
§files: Vec<(PathBuf, Metadata)>§directories: Vec<(PathBuf, Metadata)>§excluded_count: usize§total_file_bytes: u64§collection_errors: Vec<(PathBuf, String)>Implementations§
Source§impl CollectedPaths
impl CollectedPaths
pub fn file_count(&self) -> usize
pub fn directory_count(&self) -> usize
Auto Trait Implementations§
impl Freeze for CollectedPaths
impl RefUnwindSafe for CollectedPaths
impl Send for CollectedPaths
impl Sync for CollectedPaths
impl Unpin for CollectedPaths
impl UnsafeUnpin for CollectedPaths
impl UnwindSafe for CollectedPaths
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> 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