# Enum bitflags::__core::io::SeekFrom [−] [src]

    pub enum SeekFrom {
        Start(u64),
        End(i64),
        Current(i64),
    }

1.0.0

Enumeration of possible methods to seek within an I/O object.

## Variants

`Start` | Set the offset to the provided number of bytes. |
`End` | Set the offset to the size of this object plus the specified number of bytes. It is possible to seek beyond the end of an object, but it's an error to seek before byte 0. |
`Current` | Set the offset to the current position plus the specified number of bytes. It is possible to seek beyond the end of an object, but it's an error to seek before byte 0. |

## Trait Implementations

### Derived Implementations

### `impl Debug for SeekFrom`

#### `fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>`

### `impl Clone for SeekFrom`

#### `fn clone(&self) -> SeekFrom`

#### `fn clone_from(&mut self, source: &Self)`

### `impl Eq for SeekFrom`

### `impl PartialEq<SeekFrom> for SeekFrom`

#### `fn eq(&self, __arg_0: &SeekFrom) -> bool`

#### `fn ne(&self, __arg_0: &SeekFrom) -> bool`

### `impl Copy for SeekFrom`

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
⇤
  Move up in search results
⇥
  Move down in search results
⏎
  Go to active search result

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)