pub trait CacheExt: 'static {
fn clear(&self);
fn dump(&self);
fn flush(&self);
fn max_size(&self) -> u32;
fn load(&self);
fn set_max_size(&self, max_size: u32);
fn cache_dir(&self) -> Option<GString>;
fn cache_type(&self) -> CacheType;
}