Struct tsfc::WFile
[−]
[src]
pub struct WFile { /* fields omitted */ }
Methods
impl WFile
[src]
fn sync_all(&self) -> Result<()>
fn sync_data(&self) -> Result<()>
fn set_len(&self, size: u64) -> Result<()>
fn metadata(&self) -> Result<Metadata>
Trait Implementations
impl Debug for WFile
[src]
fn fmt(&self, fmtr: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl Seek for WFile
[src]
fn seek(&mut self, pos: SeekFrom) -> Result<u64>
Seek to an offset, in bytes, in a stream. Read more
impl Write for WFile
[src]
fn write(&mut self, buf: &[u8]) -> Result<usize>
Write a buffer into this object, returning how many bytes were written. Read more
fn flush(&mut self) -> Result<()>
Flush this output stream, ensuring that all intermediately buffered contents reach their destination. Read more
fn write_all(&mut self, buf: &[u8]) -> Result<()>
Attempts to write an entire buffer into this write. Read more
fn write_fmt(&mut self, fmt: Arguments) -> Result<()>
Writes a formatted string into this writer, returning any error encountered. Read more
fn by_ref(&mut self) -> &mut Self
Creates a "by reference" adaptor for this instance of Write
. Read more