Enum cache::bucket::Format [−][src]
pub enum Format { Json, }
encoding formats for persistence
Variants
Implementations
impl Format
[src]
impl Format
[src]pub fn parse_str<'a, T: Deserialize<'a>>(
&self,
data: &'a str
) -> Result<T, CacheError>
[src]
&self,
data: &'a str
) -> Result<T, CacheError>
pub fn from_str<'a, T: Deserialize<'a>>(
&self,
data: &'a str
) -> Result<T, CacheError>
[src]
&self,
data: &'a str
) -> Result<T, CacheError>