iroh_blobs::util

Trait TagDrop

Source
pub trait TagDrop:
    Debug
    + Send
    + Sync
    + 'static {
    // Required method
    fn on_drop(&self, inner: &HashAndFormat);
}
Expand description

Trait used from temp tags to notify an abstract store that a temp tag is being dropped.

Required Methods§

Source

fn on_drop(&self, inner: &HashAndFormat)

Called on drop

Implementations on Foreign Types§

Source§

impl TagDrop for RwLock<TempCounterMap>

Available on crate feature fs-store only.
Source§

fn on_drop(&self, content: &HashAndFormat)

Implementors§