Trait soup::prelude::CacheExt

source ·
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§

source

fn clear(&self)

source

fn dump(&self)

source

fn flush(&self)

source

fn max_size(&self) -> u32

source

fn load(&self)

source

fn set_max_size(&self, max_size: u32)

source

fn cache_dir(&self) -> Option<GString>

source

fn cache_type(&self) -> CacheType

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<O: IsA<Cache>> CacheExt for O