pub trait PrunableStore: DAGStore {
// Required method
fn remove(&mut self, cid: &Hash) -> Result<(), String>;
// Provided method
fn remove_batch(&mut self, cids: &[Hash]) -> Result<usize, String> { ... }
}Expand description
Extension trait for stores that support node removal.