use std::fmt::Debug;
use std::hash::Hash;
use std::io;
pub trait Store: Send + 'static {
type Key: Copy + Debug + Eq + Hash + Send;
type Value: Send;
fn load(&mut self, Self::Key) -> io::Result<Self::Value>;
fn store(&mut self, Self::Key, &Self::Value) -> io::Result<()>;
}