pub struct ReachPolicy {
pub max_commits: usize,
}Expand description
Which commits get a bitmap.
Fields§
§max_commits: usizeUpper bound on how many bitmaps are sealed. Tips are taken first (a commit with no child inside the archive — the branch heads a clone negotiates against), then the remaining commits are sampled at an even stride through generation order.
Trait Implementations§
Source§impl Clone for ReachPolicy
impl Clone for ReachPolicy
Source§fn clone(&self) -> ReachPolicy
fn clone(&self) -> ReachPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ReachPolicy
Source§impl Debug for ReachPolicy
impl Debug for ReachPolicy
Auto Trait Implementations§
impl Freeze for ReachPolicy
impl RefUnwindSafe for ReachPolicy
impl Send for ReachPolicy
impl Sync for ReachPolicy
impl Unpin for ReachPolicy
impl UnsafeUnpin for ReachPolicy
impl UnwindSafe for ReachPolicy
Blanket Implementations§
impl<T> Allocation for T
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