pub struct CollectionReceipt {
pub mutation_epoch: u64,
pub marked: Vec<ManagedId>,
pub swept: Vec<ManagedId>,
pub edges: usize,
pub work: usize,
pub cleared_weak: Vec<(ManagedId, EdgeId)>,
pub cleared_ephemerons: Vec<(ManagedId, EdgeId)>,
pub finalization: Vec<FinalizationRecord>,
}Expand description
Deterministic evidence for a completed collection.
Fields§
§mutation_epoch: u64Snapshot mutation epoch used to plan the sweep.
marked: Vec<ManagedId>Reachable objects in allocation order.
swept: Vec<ManagedId>Reclaimed objects in allocation order.
edges: usizeNumber of edges enumerated.
work: usizeTotal charged operations.
cleared_weak: Vec<(ManagedId, EdgeId)>Weak edges cleared as (owner, edge).
cleared_ephemerons: Vec<(ManagedId, EdgeId)>Ephemerons cleared as (owner, edge).
finalization: Vec<FinalizationRecord>Finalization records admitted after arena mutation completed.
Trait Implementations§
Source§impl Clone for CollectionReceipt
impl Clone for CollectionReceipt
Source§fn clone(&self) -> CollectionReceipt
fn clone(&self) -> CollectionReceipt
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 moreSource§impl Debug for CollectionReceipt
impl Debug for CollectionReceipt
impl Eq for CollectionReceipt
Source§impl PartialEq for CollectionReceipt
impl PartialEq for CollectionReceipt
impl StructuralPartialEq for CollectionReceipt
Auto Trait Implementations§
impl Freeze for CollectionReceipt
impl RefUnwindSafe for CollectionReceipt
impl Send for CollectionReceipt
impl Sync for CollectionReceipt
impl Unpin for CollectionReceipt
impl UnsafeUnpin for CollectionReceipt
impl UnwindSafe for CollectionReceipt
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