ProviderFn

Type Alias ProviderFn 

Source
type ProviderFn = Box<dyn FnMut(&Path) -> Result<Box<dyn InputsGuard>> + Send>;
Expand description

Type erased closure providing sandbox inputs.

Returns an guard that has a chance to clean up/unmount inputs after the sandbox has stopped.

Aliased Typeยง

struct ProviderFn(/* private fields */);