pub struct FileEntry { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Entry for FileEntry
impl Entry for FileEntry
fn file_path(&self) -> &Path
fn file_name(&self) -> &OsStr
fn file_depth(&self) -> usize
fn zip_depth(&self) -> Option<usize>
fn file_flags(&self) -> FileFlags
fn read_sig(&self) -> Option<Signature>
fn read_link(&self) -> MyResult<Option<PathBuf>>
fn copy_metadata(&self, other: &dyn Entry)
fn reset_metadata(&self)
fn file_mode(&self) -> u32
fn owner_uid(&self) -> uid_t
fn owner_gid(&self) -> gid_t
fn file_size(&self) -> u64
fn file_time(&self) -> SystemTime
Auto Trait Implementations§
impl !Freeze for FileEntry
impl !RefUnwindSafe for FileEntry
impl Send for FileEntry
impl !Sync for FileEntry
impl Unpin for FileEntry
impl UnwindSafe for FileEntry
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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