pub struct CloneEntry { /* private fields */ }
Implementations§
Source§impl CloneEntry
impl CloneEntry
Trait Implementations§
Source§impl Entry for CloneEntry
impl Entry for CloneEntry
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 CloneEntry
impl RefUnwindSafe for CloneEntry
impl Send for CloneEntry
impl Sync for CloneEntry
impl Unpin for CloneEntry
impl UnwindSafe for CloneEntry
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> 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