Struct rustuv::file::FileWatcher[src]

pub struct FileWatcher {
    // some fields omitted
}

Methods

impl FileWatcher

fn new(io: &mut UvIoFactory, fd: c_int, close: CloseBehavior) -> FileWatcher

Trait Implementations

impl Drop for FileWatcher

fn drop(&mut self)

impl RtioFileStream for FileWatcher

fn read(&mut self, buf: &mut [u8]) -> IoResult<int>

fn write(&mut self, buf: &[u8]) -> IoResult<()>

fn pread(&mut self, buf: &mut [u8], offset: u64) -> IoResult<int>

fn pwrite(&mut self, buf: &[u8], offset: u64) -> IoResult<()>

fn seek(&mut self, pos: i64, whence: SeekStyle) -> IoResult<u64>

fn tell(&self) -> IoResult<u64>

fn fsync(&mut self) -> IoResult<()>

fn datasync(&mut self) -> IoResult<()>

fn truncate(&mut self, offset: i64) -> IoResult<()>

fn fstat(&mut self) -> IoResult<FileStat>