Enum lrs::file::Seek

A seek operation.

Syntax

enum Seek {
    Cur(i64),
    Data(i64),
    End(i64),
    Hole(i64),
    Start(i64),
}

Variants

NameDescription
Cur

Seek from the current position in the file.

Data

Seek to the first non-hole byte at or after the specified offset.

End

Seek from the end of the file.

Hole

Seek to the first hole at or after the specified offset.

Start

Seek from the start of the file.

Trait implementations

NameDescription
Clone

Objects that can be duplicated.

Copy

Objects that can safely be copied via memcpy.

Eq

Objects that implement the binary == and != operators.

MaybeClone

Objects that can be duplicated.