pub enum SeekFrom {
Start(u64),
Current(i64),
End(i64),
}Expand description
Position for seek operations.
Variants§
Start(u64)
Seek from start of file.
Current(i64)
Seek relative to current cursor position.
End(i64)
Seek relative to end of file.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SeekFrom
impl RefUnwindSafe for SeekFrom
impl Send for SeekFrom
impl Sync for SeekFrom
impl Unpin for SeekFrom
impl UnwindSafe for SeekFrom
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more