pub struct SelectionOptions {
pub graph_read_limit: u64,
pub include_tags: bool,
}Expand description
Traversal budget and annotated-tag policy for a selected fetch pack.
Fields§
§graph_read_limit: u64Maximum structural bytes read across common history, wanted objects and included tags. Buffered reads and rereads consume the same budget.
Include advertised annotated and nested tags whose final peeled target is being sent. A target excluded as common history does not qualify. Tags use the existing object/index arrays and traversal budget; no extra collection or allocation is required. False selects only explicit wants.
Trait Implementations§
Source§impl Clone for SelectionOptions
impl Clone for SelectionOptions
impl Copy for SelectionOptions
Auto Trait Implementations§
impl Freeze for SelectionOptions
impl RefUnwindSafe for SelectionOptions
impl Send for SelectionOptions
impl Sync for SelectionOptions
impl Unpin for SelectionOptions
impl UnsafeUnpin for SelectionOptions
impl UnwindSafe for SelectionOptions
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