Function scheduler_service_lib::rest::token_admin_filter
source · pub fn token_admin_filter(
context: Arc<RwLock<SchedulerContext>>,
is_admin_token_enabled: bool
) -> impl Filter<Extract = (), Error = Rejection> + Clone