pub struct Config {
pub budget_bytes: usize,
pub io: IoMode,
pub sync: SyncMode,
}Fields§
§budget_bytes: usize§io: IoMode§sync: SyncModeTrait Implementations§
impl Copy for Config
Source§impl Default for Config
The blessed default (D24): 64 MiB pool, buffered I/O, Normal durability.
64 MiB is the WEIGHTED-TRAINING budget (D25): every gate and ablation is
measured at this budget or smaller, so optimization pressure lands on the
disk path – layout, clustering, read counts – never on cache flatter.
A server that can spend 4 GB sets it; the layout never changes.
impl Default for Config
The blessed default (D24): 64 MiB pool, buffered I/O, Normal durability. 64 MiB is the WEIGHTED-TRAINING budget (D25): every gate and ablation is measured at this budget or smaller, so optimization pressure lands on the disk path – layout, clustering, read counts – never on cache flatter. A server that can spend 4 GB sets it; the layout never changes.
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
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