pub enum Seek {
Set,
Current,
End,
}
Expand description
The possible ways to seek within a file.
Variants§
Set
Seeks to an absolute position.
Current
Seeks to a position relative to the current position.
End
Seeks to a position relative to the end of the file.
Trait Implementations§
Source§impl Ord for Seek
impl Ord for Seek
Source§impl PartialOrd for Seek
impl PartialOrd for Seek
impl Copy for Seek
impl Eq for Seek
impl StructuralPartialEq for Seek
Auto Trait Implementations§
impl Freeze for Seek
impl RefUnwindSafe for Seek
impl Send for Seek
impl Sync for Seek
impl Unpin for Seek
impl UnwindSafe for Seek
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