pub(crate) struct FilesV1PathErrors {
pub(crate) absolute: HashSet<PathBuf>,
pub(crate) without_parent: HashSet<PathBuf>,
pub(crate) duplicate: HashSet<PathBuf>,
}Expand description
Fields§
§absolute: HashSet<PathBuf>§without_parent: HashSet<PathBuf>§duplicate: HashSet<PathBuf>Implementations§
Source§impl FilesV1PathErrors
impl FilesV1PathErrors
Sourcepub(crate) fn new() -> Self
pub(crate) fn new() -> Self
Creates a new FilesV1PathErrors.
Sourcepub(crate) fn add_absolute(&mut self, path: PathBuf) -> bool
pub(crate) fn add_absolute(&mut self, path: PathBuf) -> bool
Adds a new absolute path.
Sourcepub(crate) fn add_without_parent(&mut self, path: PathBuf) -> bool
pub(crate) fn add_without_parent(&mut self, path: PathBuf) -> bool
Adds a new (non top-level) path that does not have a parent.
Sourcepub(crate) fn add_duplicate(&mut self, path: PathBuf) -> bool
pub(crate) fn add_duplicate(&mut self, path: PathBuf) -> bool
Adds a new duplicate path.
Trait Implementations§
Source§impl Clone for FilesV1PathErrors
impl Clone for FilesV1PathErrors
Source§fn clone(&self) -> FilesV1PathErrors
fn clone(&self) -> FilesV1PathErrors
Returns a duplicate 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 FilesV1PathErrors
impl Debug for FilesV1PathErrors
Source§impl Display for FilesV1PathErrors
impl Display for FilesV1PathErrors
Source§impl PartialEq for FilesV1PathErrors
impl PartialEq for FilesV1PathErrors
impl Eq for FilesV1PathErrors
impl StructuralPartialEq for FilesV1PathErrors
Auto Trait Implementations§
impl Freeze for FilesV1PathErrors
impl RefUnwindSafe for FilesV1PathErrors
impl Send for FilesV1PathErrors
impl Sync for FilesV1PathErrors
impl Unpin for FilesV1PathErrors
impl UnwindSafe for FilesV1PathErrors
Blanket Implementations§
§impl<T> AnyEq for T
impl<T> AnyEq for T
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