Enum nix::unistd::Whence  
#[repr(i32)]
pub enum Whence {    
    SeekSet,
    SeekCur,
    SeekEnd,
    SeekData,
    SeekHole,
}Variants
SeekSetSpecify an offset relative to the start of the file.
SeekCurSpecify an offset relative to the current file location.
SeekEndSpecify an offset relative to the end of the file.
SeekDataSpecify an offset relative to the next location in the file greater than or equal to offset that contains some data. If offset points to some data, then the file offset is set to offset.
SeekHoleSpecify an offset relative to the next hole in the file greater than or equal to offset. If offset points into the middle of a hole, then the file offset should be set to offset. If there is no hole past offset, then the file offset should be adjusted to the end of the file (i.e., there is an implicit hole at the end of any file).
Trait Implementations
impl Debug for Whence
fn fmt(&Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::ResultAuto Trait Implementations
impl RefUnwindSafe for Whenceimpl UnwindSafe for WhenceBlanket Implementations
impl<T> BorrowMut<T> for T
where
    T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T