pub trait PathExt: PlatformPath {
// Required methods
fn get_attributes(&self) -> Option<FileAttributes>;
fn is_accessible(&self) -> bool;
fn get_disk_info(&self) -> Option<DiskInfo>;
}Expand description
Platform extension trait
Required Methods§
Sourcefn get_attributes(&self) -> Option<FileAttributes>
fn get_attributes(&self) -> Option<FileAttributes>
Get file attributes (platform-specific)
Sourcefn is_accessible(&self) -> bool
fn is_accessible(&self) -> bool
Check if path exists and is accessible
Sourcefn get_disk_info(&self) -> Option<DiskInfo>
fn get_disk_info(&self) -> Option<DiskInfo>
Get disk information for path