cap_primitives::fs

Function is_file_read_write

Source
pub fn is_file_read_write(file: &File) -> Result<(bool, bool)>
Expand description

Return a pair of booleans indicating whether the given file is opened for reading and writing, respectively.