use anyhow::Result;
#[derive(Debug)]
pub struct DHTStorage;
impl Default for DHTStorage {
fn default() -> Self {
Self::new()
}
}
impl DHTStorage {
pub fn new() -> Self {
Self
}
pub async fn store(&self, _key: &str, _data: &[u8]) -> Result<()> {
Ok(())
}
pub async fn retrieve(&self, _key: &str) -> Result<Vec<u8>> {
Ok(vec![])
}
}