#[non_exhaustive]pub struct GcPlan {
pub partition: Partition,
pub batch: Batch,
}Expand description
A GC delete plan from ContentIndex::collectable: one batch in the
object’s shard, guarded on the state row it checked, that prunes the
expired holds and sets deleting. Apply it with
ContentIndex::commit_collect.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.partition: PartitionThe object’s shard.
batch: BatchThe guarded batch.
Trait Implementations§
impl Eq for GcPlan
impl StructuralPartialEq for GcPlan
Auto Trait Implementations§
impl Freeze for GcPlan
impl RefUnwindSafe for GcPlan
impl Send for GcPlan
impl Sync for GcPlan
impl Unpin for GcPlan
impl UnsafeUnpin for GcPlan
impl UnwindSafe for GcPlan
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