pub struct PackIndexOptions {
pub limits: PackReadLimits,
/* private fields */
}Expand description
Configuration for the one pack indexing engine.
threads is explicit so callers and tests can prove scheduling-independent
output. Default uses all logical CPUs reported by the operating system.
Fields§
§limits: PackReadLimitsImplementations§
Source§impl PackIndexOptions
impl PackIndexOptions
pub fn new(limits: PackReadLimits) -> Self
pub fn with_threads(self, threads: usize) -> Self
pub const fn threads(self) -> usize
Trait Implementations§
Source§impl Clone for PackIndexOptions
impl Clone for PackIndexOptions
impl Copy for PackIndexOptions
Source§impl Debug for PackIndexOptions
impl Debug for PackIndexOptions
Source§impl Default for PackIndexOptions
impl Default for PackIndexOptions
impl Eq for PackIndexOptions
Source§impl PartialEq for PackIndexOptions
impl PartialEq for PackIndexOptions
impl StructuralPartialEq for PackIndexOptions
Auto Trait Implementations§
impl Freeze for PackIndexOptions
impl RefUnwindSafe for PackIndexOptions
impl Send for PackIndexOptions
impl Sync for PackIndexOptions
impl Unpin for PackIndexOptions
impl UnsafeUnpin for PackIndexOptions
impl UnwindSafe for PackIndexOptions
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