pub async fn get<T: DeserializeOwned>(key: &str) -> Result<Option<T>, AppError>
Reads the value stored under key, if any, deserialized as T.
key
T