pub struct ShardSize {
pub path: String,
pub bytes: u64,
pub over_per_shard: bool,
}Expand description
One shard file’s size measurement against the per-shard budget.
Fields§
§path: StringRepo-relative path to the shard, e.g. decisions.jsonl or
decisions/crates--core.jsonl.
bytes: u64§over_per_shard: boolTrue when bytes > BudgetConfig::per_shard_bytes.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ShardSize
impl RefUnwindSafe for ShardSize
impl Send for ShardSize
impl Sync for ShardSize
impl Unpin for ShardSize
impl UnsafeUnpin for ShardSize
impl UnwindSafe for ShardSize
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