Struct nue_io::SeekForwardWrite [] [src]

pub struct SeekForwardWrite<T> {
    // some fields omitted
}

A forward seeking wrapper around a Write type.

Methods

impl<T> SeekForwardWrite<T>

fn new(inner: T) -> Self

Creates a new SeekForwardWrite.

Trait Implementations

impl<T: Write> SeekForward for SeekForwardWrite<T>

fn seek_forward(&mut self, offset: u64) -> Result<u64>

impl<T: SeekRewind> SeekRewind for SeekForwardWrite<T>

fn seek_rewind(&mut self) -> Result<()>

impl<T: Tell> Tell for SeekForwardWrite<T>

fn tell(&mut self) -> Result<u64>

impl<T: SeekAbsolute> SeekAbsolute for SeekForwardWrite<T>

fn seek_absolute(&mut self, pos: u64) -> Result<u64>

impl<T: SeekEnd> SeekEnd for SeekForwardWrite<T>

fn seek_end(&mut self, offset: i64) -> Result<u64>

impl<T: SeekBackward> SeekBackward for SeekForwardWrite<T>

fn seek_backward(&mut self, offset: u64) -> Result<u64>

impl<T: Write> Write for SeekForwardWrite<T>

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

fn flush(&mut self) -> Result<()>

fn write_all(&mut self, buf: &[u8]) -> Result<(), Error>

fn write_fmt(&mut self, fmt: Arguments) -> Result<(), Error>

fn by_ref(&mut self) -> &mut Self

fn broadcast<W>(self, other: W) -> Broadcast<Self, W> where W: Write