Trait anansi_core::cache::Cacheable
source · pub trait Cacheable {
// Required methods
fn to_bytes(&self) -> Vec<u8> ⓘ;
fn from_bytes(bytes: Vec<u8>) -> Result<Self>
where Self: Sized;
}pub trait Cacheable {
// Required methods
fn to_bytes(&self) -> Vec<u8> ⓘ;
fn from_bytes(bytes: Vec<u8>) -> Result<Self>
where Self: Sized;
}