pub(super) enum SeekState {
Init,
Start(SeekFrom),
PendingOverflowed(i64),
Pending,
}Variants§
Init
start_seek has not been called.
Start(SeekFrom)
start_seek has been called, but poll_complete has not yet been called.
PendingOverflowed(i64)
Waiting for completion of the first poll_complete in the n.checked_sub(remainder).is_none() branch.
Pending
Waiting for completion of poll_complete.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SeekState
impl RefUnwindSafe for SeekState
impl Send for SeekState
impl Sync for SeekState
impl Unpin for SeekState
impl UnwindSafe for SeekState
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