Thanks to visit codestin.com
Credit goes to n0-computer.github.io

ProtectCb

Type Alias ProtectCb 

Source
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 */ }