Skip to main content

policy_stack_from

Function policy_stack_from 

Source
pub fn policy_stack_from(policies: Vec<Arc<dyn Policy>>) -> Arc<PolicyStack> ⓘ
Expand description

Build a PolicyStack from a list of already-constructed policy instances (the macro emits Box::new(Policy::default()) per entry when the user passes policies = [...]).