Enum std::old_io::SeekStyleUnstable [-] [+] [src]

pub enum SeekStyle {
    SeekSet,
    SeekEnd,
    SeekCur,
}

When seeking, the resulting cursor is offset from a base by the offset given to the seek function. The base used is specified by this enumeration.

Variants

SeekSet

Seek from the beginning of the stream

SeekEnd

Seek from the end of the stream

SeekCur

Seek from the current position

Trait Implementations

Derived Implementations

impl Copy for SeekStyle