Function is_block_file

Source
pub fn is_block_file<F: AsRawDescriptor>(file: &F) -> Result<bool>
Expand description

Checks whether a file is a block device fie or not.