Trait forest_filecoin::libp2p_bitswap::store::BitswapStoreRead
source · pub trait BitswapStoreRead {
// Required methods
fn contains(&self, cid: &Cid) -> Result<bool>;
fn get(&self, cid: &Cid) -> Result<Option<Vec<u8>>>;
}
Expand description
Trait implemented by a block store for reading.