Skip to main content

CacheWrite

Trait CacheWrite 

Source
pub trait CacheWrite {
    // Required methods
    fn delete_cache_zone<'a>(
        &'a self,
        domain: &'a str,
    ) -> impl Future<Output = Result<Value>> + Send + 'a;
    fn flush_cache(&self) -> impl Future<Output = Result<Value>> + Send + '_;
}

Required Methods§

Source

fn delete_cache_zone<'a>( &'a self, domain: &'a str, ) -> impl Future<Output = Result<Value>> + Send + 'a

Source

fn flush_cache(&self) -> impl Future<Output = Result<Value>> + Send + '_

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§