pub trait CacheOps: Send + Sync {
// Required methods
fn handle_command(&self, body: &str) -> (u16, String);
fn handle_get(&self, key: &str) -> (u16, String);
fn handle_delete(&self, key: &str) -> (u16, String);
}Expand description
Cache operations used by the router.