Enum std::io::SeekStyle

pub enum SeekStyle {
    SeekSet,
    SeekEnd,
    SeekCur,
}

The SeekStyle enum describes the relationship between the position we'd like to seek to from our current position. It's used as an argument to the seek method defined on the Reader trait.

There are three seek styles:

  1. SeekSet means that the new position should become our position.
  2. SeekCur means that we should seek from the current position.
  3. SeekEnd means that we should seek from the end.

Examples

None right now.