pub trait Backing {
// Required methods
fn put(&mut self, at: Rev, bytes: &[u8]) -> Result<()>;
fn get(&self, at: Rev) -> Result<Option<Vec<u8>>>;
fn names(&self, at: Rev) -> String;
}Expand description
Where a session keeps the document at every rev: a directory, or a map that dies with the process. The same bytes either way.