Trait iroh_blobs::util::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>

source§

fn on_drop(&self, content: &HashAndFormat)

Implementors§