pub enum SeekError {
PositionOutOfBounds,
Unknown,
}
Expand description
An Error that occured during seeking
Variants§
PositionOutOfBounds
The specified position was outside the boundary of the file
Unknown
An unknown error occured while reading the length of the file, or setting the cursor.
Trait Implementations§
impl Eq for SeekError
impl StructuralPartialEq for SeekError
Auto Trait Implementations§
impl Freeze for SeekError
impl RefUnwindSafe for SeekError
impl Send for SeekError
impl Sync for SeekError
impl Unpin for SeekError
impl UnwindSafe for SeekError
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