pub struct ColdGcEntry {
pub seq: 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§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<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::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§fn eq(&self, other: &ColdGcEntry) -> bool
fn eq(&self, other: &ColdGcEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ColdGcEntry
impl Serialize for ColdGcEntry
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