pub trait CacheExt: IsA<Cache> + Sealed + 'static {
// Provided methods
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 { ... }
}
Provided Methods§
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
Object Safety§
This trait is not object safe.