get
Get the entry associated with the given cache key, if it exists.
if let Some(value) = get("my_key")? { let cached_string = value.into_string(); println!("the cached string was: {cached_string}");}Argument type conversion
See the From impls for Bytes to see which types can be used
as a key.
Parameters
Returns
Result<Option<crate::Body>, CacheError>