pub type ProtectCb = Arc<dyn for<'a> Fn(&'a mut HashSet<Hash>) -> Pin<Box<dyn Future<Output = ProtectOutcome> + Send + Sync + 'a>> + Send + Sync + 'static>;Expand description
The type of the garbage collection callback.
See `GcConfig::add_protected for details.
Aliased Typeยง
pub struct ProtectCb { /* private fields */ }