pub struct WantOptions {
pub policy: WantPolicy,
pub max_want_lines: usize,
}Expand description
Additional request policy, separate from existing selection storage literals. Occurrences include duplicates. Existing wrappers preserve their strict rule without adding a new occurrence limit. Hosts must still bound request bytes.
This is not a total logical-work limit: metadata scans remain bounded by object/ref capacities, and structural reads by the existing shared graph cap.
Fields§
§policy: WantPolicy§max_want_lines: usizeImplementations§
Source§impl WantOptions
impl WantOptions
pub const STRICT: Self
pub const fn all_visible_reachable(max_want_lines: usize) -> Self
Trait Implementations§
Source§impl Clone for WantOptions
impl Clone for WantOptions
impl Copy for WantOptions
Source§impl Debug for WantOptions
impl Debug for WantOptions
Source§impl Default for WantOptions
impl Default for WantOptions
impl Eq for WantOptions
Source§impl PartialEq for WantOptions
impl PartialEq for WantOptions
impl StructuralPartialEq for WantOptions
Auto Trait Implementations§
impl Freeze for WantOptions
impl RefUnwindSafe for WantOptions
impl Send for WantOptions
impl Sync for WantOptions
impl Unpin for WantOptions
impl UnsafeUnpin for WantOptions
impl UnwindSafe for WantOptions
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