pub struct PathInfo {
pub is_directory: bool,
pub is_reparse_point: bool,
pub hard_link_count: u32,
}Expand description
Metadata snapshot returned by inspect_path.
Fields§
§is_directory: booltrue when the path points to a directory.
is_reparse_point: booltrue when the path is marked as a reparse point.
hard_link_count: u32Number of hard links attached to the path entry.
Trait Implementations§
impl Copy for PathInfo
impl Eq for PathInfo
impl StructuralPartialEq for PathInfo
Auto Trait Implementations§
impl Freeze for PathInfo
impl RefUnwindSafe for PathInfo
impl Send for PathInfo
impl Sync for PathInfo
impl Unpin for PathInfo
impl UnwindSafe for PathInfo
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