pub trait Seek {
// Required method
fn seek(&self, pos: SeekFrom) -> Result<usize>;
}
Expand description
The Seek
trait provides a cursor which can be moved within a file.
It is possible to seek relative to either end or the current offset.