Trait nue_io::SeekRewind [] [src]

pub trait SeekRewind {
    fn seek_rewind(&mut self) -> Result<()>;
}

A limited form of seeking that can only be reset from the beginning.

Useful for expressing compressed or cipher streams.

Required Methods

Seeks back to the beginning of the stream.

Conceptually equivalent to seek(SeekFrom::Start(0)).

Implementors