Struct cfile::FileLock
[−]
[src]
pub struct FileLock<'a>(_);
A locked reference to the CFile stream.
Methods from Deref<Target=CFile>
fn reopen(&self, filename: &str, mode: &str) -> Result<CFile>
[−]
opens the file whose name is the string pointed to by filename
and associates the stream pointed to by stream with it.
The original stream (if it exists) is closed.
The mode argument is used just as in the open()
function.