pub struct BudgetConfig {
pub total_bytes: u64,
pub per_shard_bytes: u64,
}Expand description
Plan K t-008: size budget for the committed sidecar. Defaults
chosen for AcmeFlow-scale projects: 1 MB total, 200 KB per
shard file. Configurable per-project via .asd/config.toml.
Fields§
§total_bytes: u64Hard upper bound on the total size of .asd/conclusions/
(sum across all shard files). Default 1 MiB.
per_shard_bytes: u64Hard upper bound on any single shard file’s size. Default 200 KiB.
Trait Implementations§
Source§impl Clone for BudgetConfig
impl Clone for BudgetConfig
impl Copy for BudgetConfig
Source§impl Debug for BudgetConfig
impl Debug for BudgetConfig
Auto Trait Implementations§
impl Freeze for BudgetConfig
impl RefUnwindSafe for BudgetConfig
impl Send for BudgetConfig
impl Sync for BudgetConfig
impl Unpin for BudgetConfig
impl UnsafeUnpin for BudgetConfig
impl UnwindSafe for BudgetConfig
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