Enum optee_utee::object::Whence[][src]

pub enum Whence {
    DataSeekSet,
    DataSeekCur,
    DataSeekEnd,
}
Expand description

Indicate the possible start offset when moving a data position in the data stream associated with a PersistentObject.

Variants

DataSeekSet

The data position is set to offset bytes from the beginning of the data stream.

DataSeekCur

The data position is set to its current position plus offset.

DataSeekEnd

The data position is set to the size of the object data plus offset.

Trait Implementations

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.