pub trait Entry {
Show 16 methods
// Required methods
fn file_path(&self) -> &Path;
fn file_name(&self) -> &OsStr;
fn file_depth(&self) -> usize;
fn inner_path(&self) -> Option<&Path>;
fn inner_depth(&self) -> Option<usize>;
fn file_flags(&self) -> FileFlags;
fn read_crc(&self) -> u32;
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;
}Required Methods§
fn file_path(&self) -> &Path
fn file_name(&self) -> &OsStr
fn file_depth(&self) -> usize
fn inner_path(&self) -> Option<&Path>
fn inner_depth(&self) -> Option<usize>
fn file_flags(&self) -> FileFlags
fn read_crc(&self) -> u32
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
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".