pub struct LinuxDirectorySnapshot { /* private fields */ }Expand description
Immutable directory stream captured at opendir time.
Implementations§
Source§impl LinuxDirectorySnapshot
impl LinuxDirectorySnapshot
Sourcepub const fn directory(&self) -> LinuxInode
pub const fn directory(&self) -> LinuxInode
Returns the opened directory inode.
Sourcepub const fn parent(&self) -> LinuxInode
pub const fn parent(&self) -> LinuxInode
Returns the parent inode used by the .. entry.
Sourcepub fn entries(&self) -> &[LinuxDirectoryEntry]
pub fn entries(&self) -> &[LinuxDirectoryEntry]
Returns children in the backend enumeration order captured by this handle.
Trait Implementations§
Source§impl Clone for LinuxDirectorySnapshot
impl Clone for LinuxDirectorySnapshot
Source§fn clone(&self) -> LinuxDirectorySnapshot
fn clone(&self) -> LinuxDirectorySnapshot
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 LinuxDirectorySnapshot
impl Debug for LinuxDirectorySnapshot
Source§impl PartialEq for LinuxDirectorySnapshot
impl PartialEq for LinuxDirectorySnapshot
impl Eq for LinuxDirectorySnapshot
impl StructuralPartialEq for LinuxDirectorySnapshot
Auto Trait Implementations§
impl Freeze for LinuxDirectorySnapshot
impl RefUnwindSafe for LinuxDirectorySnapshot
impl Send for LinuxDirectorySnapshot
impl Sync for LinuxDirectorySnapshot
impl Unpin for LinuxDirectorySnapshot
impl UnwindSafe for LinuxDirectorySnapshot
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