pub trait DatasetProxyInterface: Send + Sync {
type GetActiveTlvsResponseFut: Future<Output = Result<Option<Vec<u8>>, Error>> + Send;
type SetActiveTlvsResponseFut: Future<Output = Result<(), Error>> + Send;
type AttachAllNodesToResponseFut: Future<Output = Result<i64, Error>> + Send;
// Required methods
fn get_active_tlvs(&self) -> Self::GetActiveTlvsResponseFut;
fn set_active_tlvs(&self, dataset: &[u8]) -> Self::SetActiveTlvsResponseFut;
fn attach_all_nodes_to(
&self,
dataset: &[u8],
) -> Self::AttachAllNodesToResponseFut;
}