pub type ResourceHandler = fn(&str) -> Result<ResourceContents, String>;
Resource read handler function type
Given a URI, returns the resource contents or an error.