pub enum Prepared<L> {
Skip {
location: L,
},
Resume {
received: u64,
partial: Hasher,
},
}Variants§
Skip
Destination already holds this file. Engine yields Skipped and stops.
Fields
§
location: LResume
Begin or resume; engine should fetch starting at received and continue
hashing from partial. received == size is valid and means the engine
skips the byte fetch and goes straight to finalize.
Auto Trait Implementations§
impl<L> Freeze for Prepared<L>where
L: Freeze,
impl<L> RefUnwindSafe for Prepared<L>where
L: RefUnwindSafe,
impl<L> Send for Prepared<L>where
L: Send,
impl<L> Sync for Prepared<L>where
L: Sync,
impl<L> Unpin for Prepared<L>where
L: Unpin,
impl<L> UnsafeUnpin for Prepared<L>where
L: UnsafeUnpin,
impl<L> UnwindSafe for Prepared<L>where
L: UnwindSafe,
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