pub struct PurgePlan { /* private fields */ }Expand description
One bounded, digest-guarded purge plan.
Implementations§
Source§impl PurgePlan
impl PurgePlan
Sourcepub const fn request(&self) -> &PurgePlanRequest
pub const fn request(&self) -> &PurgePlanRequest
Borrows the planning request.
Sourcepub fn candidates(&self) -> &[PurgeCandidate]
pub fn candidates(&self) -> &[PurgeCandidate]
Borrows the bounded candidate identities in identity order.
Sourcepub const fn counts(&self) -> PurgeCounts
pub const fn counts(&self) -> PurgeCounts
Returns the per-table row counts observed while planning.
Sourcepub const fn digest(&self) -> &[u8; 32]
pub const fn digest(&self) -> &[u8; 32]
Returns the digest computed over the candidates and their versions.
Sourcepub fn digest_hex(&self) -> String
pub fn digest_hex(&self) -> String
Returns the hexadecimal plan digest.
Trait Implementations§
impl Eq for PurgePlan
impl StructuralPartialEq for PurgePlan
Auto Trait Implementations§
impl Freeze for PurgePlan
impl RefUnwindSafe for PurgePlan
impl Send for PurgePlan
impl Sync for PurgePlan
impl Unpin for PurgePlan
impl UnsafeUnpin for PurgePlan
impl UnwindSafe for PurgePlan
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