pub type MetadataFn = fn(Arc<RequestContext>) -> Pin<Box<dyn Future<Output = Result<Metadata, Error>> + Send>>;