pub async fn get(
name: String,
context: Context,
) -> Result<impl Reply, Rejection>Expand description
Retrieves all information about the given dataset.
§Arguments
name: The name of the dataset to query about.context: The Context that contains stuff we need to run.
§Returns
A response that can be send to client. Specifically, it will contains a DataInfo struct that describes everything we know about it.
§Errors
This function may error (i.e., reject the request) if the given name was not known.