Trait nue_io::SeekForward [] [src]

pub trait SeekForward {
    fn seek_forward(&mut self, offset: u64) -> Result<u64>;
}

A limited form of seeking that only allows seeking forward.

Required Methods

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

Seeks forward in the stream.

Returns the number of bytes skipped.

Implementors