pub trait Storable: Serialize + for<'de> Deserialize<'de> {
    fn key_prefix() -> &'static str;
    fn uuid(&self) -> Uuid;

    fn key_string(&self) -> String { ... }
    fn key(&self) -> Vec<u8> { ... }
    fn match_prefix(key: &str) -> bool { ... }
    fn to_vec(&self) -> Result<Vec<u8>> { ... }
    fn from_slice(bytes: &[u8]) -> Result<Self> { ... }
    fn external_id(&self) -> ExternalID { ... }
}

Required Methods

Provided Methods

Implementors