pub struct OptimizePrefetch {}Implementations§
Source§impl OptimizePrefetch
impl OptimizePrefetch
Sourcepub fn generate_prefetch(
tree: &mut Tree,
ctx: &mut BuildContext,
bootstrap_mgr: &mut BootstrapManager,
blob_table: &mut RafsBlobTable,
output_blob_dir_path: PathBuf,
prefetch_files: Vec<PrefetchFileInfo>,
backend: Arc<dyn BlobBackend + Send + Sync>,
) -> Result<BuildOutput>
pub fn generate_prefetch( tree: &mut Tree, ctx: &mut BuildContext, bootstrap_mgr: &mut BootstrapManager, blob_table: &mut RafsBlobTable, output_blob_dir_path: PathBuf, prefetch_files: Vec<PrefetchFileInfo>, backend: Arc<dyn BlobBackend + Send + Sync>, ) -> Result<BuildOutput>
Generate a new bootstrap for prefetch.
Auto Trait Implementations§
impl Freeze for OptimizePrefetch
impl RefUnwindSafe for OptimizePrefetch
impl Send for OptimizePrefetch
impl Sync for OptimizePrefetch
impl Unpin for OptimizePrefetch
impl UnwindSafe for OptimizePrefetch
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