[][src]Function cap_primitives::fs::is_read_write

pub fn is_read_write(file: &File) -> Result<(bool, bool)>

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