Trait nue_io::SeekAbsolute
[−]
[src]
pub trait SeekAbsolute { fn seek_absolute(&mut self, pos: u64) -> Result<u64>; }
A limited form of seeking that only seeks to an absolute position from the start.
Required Methods
fn seek_absolute(&mut self, pos: u64) -> Result<u64>
Seeks to the specified position in the stream.
Returns the new position in the stream.
Implementors
impl<'a, T: SeekAbsolute + ?Sized> SeekAbsolute for &'a mut T
impl<T: SeekAbsolute + ?Sized> SeekAbsolute for Box<T>
impl<T: Tell + SeekForward + SeekRewind> SeekAbsolute for SeekAbsoluteRewind<T>
impl<T: SeekAbsolute> SeekAbsolute for ReadWriteTell<T>
impl<T: Seek> SeekAbsolute for SeekAll<T>
impl<T: SeekAbsolute> SeekAbsolute for SeekForwardRead<T>
impl<T: SeekAbsolute> SeekAbsolute for SeekForwardWrite<T>
impl<T: SeekAbsolute> SeekAbsolute for BufSeeker<T>
impl<T: SeekAbsolute> SeekAbsolute for Region<T>