pub struct Closure {
pub broken_offsets: Vec<u64>,
pub external_refs: Vec<Vec<u8>>,
}Expand description
What the closure check found. Derived from the walk alone — no index, no disk, no oid resolution.
Fields§
§broken_offsets: Vec<u64>OFS_DELTA bases that do not land on an entry boundary inside this pack.
A non-empty list is a corrupt pack, not a thin one.
external_refs: Vec<Vec<u8>>REF_DELTA base oids. Each has to exist somewhere — in this pack under
an oid the walk cannot compute, or already in the store. Only these need
objects.oid, and there are usually very few.
Implementations§
Trait Implementations§
impl Eq for Closure
impl StructuralPartialEq for Closure
Auto Trait Implementations§
impl Freeze for Closure
impl RefUnwindSafe for Closure
impl Send for Closure
impl Sync for Closure
impl Unpin for Closure
impl UnsafeUnpin for Closure
impl UnwindSafe for Closure
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.