Trait std::os::unix::fs::FileTypeExt 1.5.0[−][src]
pub trait FileTypeExt {
fn is_block_device(&self) -> bool;
fn is_char_device(&self) -> bool;
fn is_fifo(&self) -> bool;
fn is_socket(&self) -> bool;
}This is supported on Unix only.
Expand description
Unix-specific extensions for fs::FileType.
Adds support for special Unix file types such as block/character devices, pipes, and sockets.
Required methods
fn is_block_device(&self) -> bool[src]
fn is_block_device(&self) -> bool[src]fn is_char_device(&self) -> bool[src]
fn is_char_device(&self) -> bool[src]Implementors
impl FileTypeExt for FileType[src]
impl FileTypeExt for FileType[src]