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
impl<'a, T: SeekForward + ?Sized> SeekForward for &'a mut T
impl<T: SeekForward + ?Sized> SeekForward for Box<T>
impl<T: Read> SeekForward for SeekForwardRead<T>
impl<T: Write> SeekForward for SeekForwardWrite<T>
impl<T: SeekForward> SeekForward for ReadWriteTell<T>
impl<T: Seek> SeekForward for SeekAll<T>
impl<T: SeekForward> SeekForward for SeekAbsoluteRewind<T>
impl<T: SeekForward> SeekForward for BufSeeker<T>
impl<T: SeekForward + Tell + SeekAbsolute> SeekForward for Region<T>
impl<T: SeekForward> SeekForward for Take<T>