parse_cache_if_attribute

Function parse_cache_if_attribute 

Source
pub fn parse_cache_if_attribute(nv: &MetaNameValue) -> Result<Path, TokenStream>
Expand description

Parse the cache_if attribute Expects a function path like cache_if = should_cache or cache_if = my_module::should_cache