Struct cfile::FileLock [] [src]

pub struct FileLock<'a>(_);

A locked reference to the CFile stream.

Methods from Deref<Target = 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.

Trait Implementations

impl<'a> Drop for FileLock<'a>
[src]

A method called when the value goes out of scope. Read more

impl<'a> Deref for FileLock<'a>
[src]

The resulting type after dereferencing

The method called to dereference a value

impl<'a> DerefMut for FileLock<'a>
[src]

The method called to mutably dereference a value