PathExt

Trait PathExt 

Source
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§

Source

fn get_attributes(&self) -> Option<FileAttributes>

Get file attributes (platform-specific)

Source

fn is_accessible(&self) -> bool

Check if path exists and is accessible

Source

fn get_disk_info(&self) -> Option<DiskInfo>

Get disk information for path

Implementors§