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
fn seek_rewind(&mut self) -> Result<()>
Seeks back to the beginning of the stream.
Conceptually equivalent to seek(SeekFrom::Start(0))
.
Implementors
impl<'a, T: SeekRewind + ?Sized> SeekRewind for &'a mut T
impl<T: SeekRewind + ?Sized> SeekRewind for Box<T>
impl<T: SeekRewind> SeekRewind for ReadWriteTell<T>
impl<T: Seek> SeekRewind for SeekAll<T>
impl<T: SeekRewind> SeekRewind for SeekForwardRead<T>
impl<T: SeekRewind> SeekRewind for SeekForwardWrite<T>
impl<T: SeekRewind> SeekRewind for SeekAbsoluteRewind<T>
impl<T: SeekRewind> SeekRewind for BufSeeker<T>
impl<T: SeekAbsolute> SeekRewind for Region<T>