/// Construct a new authorization transform.
Construct a new authorization transform.
Construct a new authorization transform .
pub fn new<F: 'static + Fn(Uuid) -> LocalBoxFuture<'static, AuthorizationResult>>(
        func: F,
    ) -> Self {
        Self {
            check: Rc::new(func),
        }
    }
pub fn new < F : ' static + Fn ( Uuid ) -> LocalBoxFuture < ' static , AuthorizationResult > > ( func : F , ) -> Self { Self { check : Rc :: new ( func ) , } }
Construct a new authorization transform.
Construct a new authorization transform .
func
F