pub struct StoredBlobRef {
pub id: AttachmentId,
pub last_modified_epoch_ms: Option<u64>,
}Expand description
One blob enumerated by AttachmentStore::list. Feeds mark-and-sweep GC:
the sweeper pairs each blob’s id against the live root set and uses
last_modified_epoch_ms to apply the write grace period. Backends that
cannot report a modification time leave it None, and the sweep treats
such blobs as always past the grace window.
Fields§
§id: AttachmentId§last_modified_epoch_ms: Option<u64>Trait Implementations§
Source§impl Clone for StoredBlobRef
impl Clone for StoredBlobRef
Source§fn clone(&self) -> StoredBlobRef
fn clone(&self) -> StoredBlobRef
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 StoredBlobRef
impl Debug for StoredBlobRef
impl Eq for StoredBlobRef
Source§impl PartialEq for StoredBlobRef
impl PartialEq for StoredBlobRef
impl StructuralPartialEq for StoredBlobRef
Auto Trait Implementations§
impl Freeze for StoredBlobRef
impl RefUnwindSafe for StoredBlobRef
impl Send for StoredBlobRef
impl Sync for StoredBlobRef
impl Unpin for StoredBlobRef
impl UnsafeUnpin for StoredBlobRef
impl UnwindSafe for StoredBlobRef
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