Trait Key
sakaagari
pub trait Key: Sized { type Codec: Codec<Self>; fn to_path(&self) -> Cow<'_, Path>; fn from_path(path: &Path) -> Option<Self>; }
type Codec: Codec<Self>
fn to_path(&self) -> Cow<'_, Path>
fn from_path(path: &Path) -> Option<Self>