Trait svc_authz::cache::AuthzCache[][src]

pub trait AuthzCache: Send + Sync + Debug {
    fn get(&self, key: &str) -> Response;
fn mget(&self, keys: &[&str]) -> Vec<Response>;
fn set(&self, key: &str, value: bool);
fn set_ex(&self, key: &str, value: bool, expiration_seconds: usize);
fn box_clone(&self) -> Box<dyn AuthzCache>; }

Required methods

Implementors