Trait nue_io::SeekBackward [] [src]

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

A limited form of seeking that only allows seeking backward.

Required Methods

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

Seeks backward in the stream.

Returns the number of bytes reversed by.

Implementors