pub struct ColdGcEntry {
pub seq: u64,
pub bucket_id: String,
pub not_before_ms: u64,
pub target: ColdGcTarget,
}Expand description
One unit of deferred cold-storage reclamation. Enqueued deterministically in the state machine when a stream’s cold objects become unreferenced, drained asynchronously by the leader’s background GC worker.
Fields§
§seq: u64§bucket_id: StringBucket-scoped erasure domain owning every byte referenced by target.
Physical packs never cross this boundary.
not_before_ms: u64Earliest wall-clock timestamp at which the physical object may be reclaimed. Zero preserves the immediate behavior of legacy entries.
target: ColdGcTargetTrait Implementations§
Source§impl Clone for ColdGcEntry
impl Clone for ColdGcEntry
Source§fn clone(&self) -> ColdGcEntry
fn clone(&self) -> ColdGcEntry
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 ColdGcEntry
impl Debug for ColdGcEntry
Source§impl<'de> Deserialize<'de> for ColdGcEntry
impl<'de> Deserialize<'de> for ColdGcEntry
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ColdGcEntry, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ColdGcEntry, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ColdGcEntry
Source§impl PartialEq for ColdGcEntry
impl PartialEq for ColdGcEntry
Source§impl Serialize for ColdGcEntry
impl Serialize for ColdGcEntry
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ColdGcEntry
Auto Trait Implementations§
impl Freeze for ColdGcEntry
impl RefUnwindSafe for ColdGcEntry
impl Send for ColdGcEntry
impl Sync for ColdGcEntry
impl Unpin for ColdGcEntry
impl UnsafeUnpin for ColdGcEntry
impl UnwindSafe for ColdGcEntry
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