Enum sgx_tprotected_fs::SeekFrom [−][src]
pub enum SeekFrom {
Start,
End,
Current,
}Enumeration of possible methods to seek within an I/O object.
Variants
StartSet the offset to the provided number of bytes.
EndSet 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.
CurrentSet 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 Copy for SeekFromimpl PartialEq for SeekFrom[src]
impl PartialEq for SeekFromfn eq(&self, other: &SeekFrom) -> bool[src]
fn eq(&self, other: &SeekFrom) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Eq for SeekFrom[src]
impl Eq for SeekFromimpl Clone for SeekFrom[src]
impl Clone for SeekFromfn clone(&self) -> SeekFrom[src]
fn clone(&self) -> SeekFromReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for SeekFrom[src]
impl Debug for SeekFrom