Enum sgx_tprotected_fs::SeekFrom[][src]

pub enum SeekFrom {
    Start,
    End,
    Current,
}

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

Variants

Set the offset to the provided number of bytes.

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.

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

impl Copy for SeekFrom
[src]

impl PartialEq for SeekFrom
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for SeekFrom
[src]

impl Clone for SeekFrom
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for SeekFrom
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for SeekFrom

impl Sync for SeekFrom