Trait avrox_storage::Seek

source ·
pub trait Seek {
    // Required methods
    fn seek(&mut self, pos: SeekFrom) -> Result<FileAddr>;
    fn stream_position(&mut self) -> Result<FileAddr>;

    // Provided method
    fn rewind(&mut self) -> Result<()> { ... }
}

Required Methods§

source

fn seek(&mut self, pos: SeekFrom) -> Result<FileAddr>

source

fn stream_position(&mut self) -> Result<FileAddr>

Provided Methods§

source

fn rewind(&mut self) -> Result<()>

Implementors§

source§

impl<'f, FS> Seek for File<'f, FS>
where FS: FileSystemWrite,