pub struct NeedDisk<R: AsyncRead + Unpin, T: Processable> {
pub commit: Option<Commit>,
/* private fields */
}Expand description
A partially memory-loaded car file that needs disk spillover to continue
Fields§
§commit: Option<Commit>Implementations§
Source§impl<R: AsyncRead + Unpin, T: Processable + Send + 'static> NeedDisk<R, T>
impl<R: AsyncRead + Unpin, T: Processable + Send + 'static> NeedDisk<R, T>
pub async fn finish_loading( self, store: DiskStore, ) -> Result<(Commit, DiskDriver<T>), DriveError>
Auto Trait Implementations§
impl<R, T> Freeze for NeedDisk<R, T>where
R: Freeze,
impl<R, T> RefUnwindSafe for NeedDisk<R, T>where
R: RefUnwindSafe,
T: RefUnwindSafe,
impl<R, T> Send for NeedDisk<R, T>
impl<R, T> Sync for NeedDisk<R, T>
impl<R, T> Unpin for NeedDisk<R, T>where
T: Unpin,
impl<R, T> UnwindSafe for NeedDisk<R, T>where
R: UnwindSafe,
T: 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