[−][src]Trait cap_fs_ext::FileTypeExt
Extension trait for FileType.
Required methods
pub fn is_block_device(&self) -> bool[src]
Returns true if this file type is a block device.
This corresponds to
std::os::unix::fs::FileTypeExt::is_block_device, except that it's
supported on Windows platforms as well.
pub fn is_char_device(&self) -> bool[src]
Returns true if this file type is a char device.
This corresponds to
std::os::unix::fs::FileTypeExt::is_char_device, except that it's
supported on Windows platforms as well.
pub fn is_fifo(&self) -> bool[src]
Returns true if this file type is a fifo.
This corresponds to
std::os::unix::fs::FileTypeExt::is_fifo, except that it's supported
on Windows platforms as well.
pub fn is_socket(&self) -> bool[src]
Returns true if this file type is a socket.
This corresponds to
std::os::unix::fs::FileTypeExt::is_socket, except that it's
supported on Windows platforms as well.