pub struct PackObjectsOptions {
pub build: PackBuildOptions,
pub search_threads: Option<usize>,
pub write_threads: Option<usize>,
}Expand description
Extended options for PackObjects.
Fields§
§build: PackBuildOptionsCore pack-objects behaviour flags.
search_threads: Option<usize>Override parallel delta-search workers (None = resolve crate::parallel::ParallelOp::PackDeltaSearch / pack.threads).
write_threads: Option<usize>Override parallel pack-write workers (None = resolve crate::parallel::ParallelOp::PackWrite / pack.threads from the repo config attached to the Odb).
Trait Implementations§
Source§impl Clone for PackObjectsOptions
impl Clone for PackObjectsOptions
impl Copy for PackObjectsOptions
Source§impl Debug for PackObjectsOptions
impl Debug for PackObjectsOptions
Source§impl Default for PackObjectsOptions
impl Default for PackObjectsOptions
Source§impl From<PackBuildOptions> for PackObjectsOptions
impl From<PackBuildOptions> for PackObjectsOptions
Source§fn from(build: PackBuildOptions) -> Self
fn from(build: PackBuildOptions) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PackObjectsOptions
impl RefUnwindSafe for PackObjectsOptions
impl Send for PackObjectsOptions
impl Sync for PackObjectsOptions
impl Unpin for PackObjectsOptions
impl UnsafeUnpin for PackObjectsOptions
impl UnwindSafe for PackObjectsOptions
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