pub trait Indexable {
type Index;
fn get_index(&self) -> Self::Index;
fn replace(&mut self, from: &Self::Index, with: &[u8]) -> bool;
}pub trait Indexable {
type Index;
fn get_index(&self) -> Self::Index;
fn replace(&mut self, from: &Self::Index, with: &[u8]) -> bool;
}