pub struct PathComponent {
pub path: PathBuf,
pub stat: Probe<StatResult>,
pub acl: Probe<PosixAcl>,
pub flags: Probe<FsFlags>,
pub mount: Option<usize>,
}Expand description
Single component in the path walk from / to target.
Each component independently carries its permissions state. mount
indexes into SystemState’s mount table,
linking this component to its filesystem’s mount options.
Fields§
§path: PathBufAbsolute path of this component.
stat: Probe<StatResult>stat() result for this component.
acl: Probe<PosixAcl>POSIX ACL entries from system.posix_acl_access xattr.
flags: Probe<FsFlags>Filesystem flags from ioctl(FS_IOC_GETFLAGS).
mount: Option<usize>Index into SystemState::mounts for this component’s filesystem.
Trait Implementations§
Source§impl Clone for PathComponent
impl Clone for PathComponent
Source§fn clone(&self) -> PathComponent
fn clone(&self) -> PathComponent
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 PathComponent
impl Debug for PathComponent
Source§impl PartialEq for PathComponent
impl PartialEq for PathComponent
Source§impl Serialize for PathComponent
impl Serialize for PathComponent
impl Eq for PathComponent
impl StructuralPartialEq for PathComponent
Auto Trait Implementations§
impl Freeze for PathComponent
impl RefUnwindSafe for PathComponent
impl Send for PathComponent
impl Sync for PathComponent
impl Unpin for PathComponent
impl UnsafeUnpin for PathComponent
impl UnwindSafe for PathComponent
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